Android avc: denied 修改方法

以下内容互联网拷贝[S]

<36>[   59.591056] type=1400 audit(177553.350:39): avc: denied { read write } for pid=410 comm="[email protected]" name="brightness" dev="sysfs" ino=25578 scontext=u:r:hal_light_default:s0 tcontext=u:object_r:led_control:s0 tclass=file permissive=0

<规则1>定义selinux type 通常qcommtk平台给出

type hal_light_default, domain;
hal_server_domain(hal_light_default, hal_light)
type h

猜你喜欢

转载自blog.csdn.net/baidu_40808339/article/details/108103562