- adb logcat日志报错:
init: avc: denied { set } for property=camera.gc02m1 scontext=u:r:mm-qcamerad:s0 tcontext=u:object_r:camera_prop:s0tclass=property_service
- SELinux的权限不足
标志性 log: avc: denied { 操作权限 } for pid=7201 comm=“进程名” scontext=u:r:源类型:s0 tcontext=u:r:目标类型:s0 tclass=访问类型 permissive=0
- 修改配置
由于scontext是mm-qcamerad
所以,找到mm-qcamerad.te文件路径/home/scooper/workspace/ljh/msm8909/device/qcom/sepolicy/common/mm-qcamerad.te
- 增加配置
allow mm-qcamerad camera_prop:property_service {set};
标签:property,mm,s0,qcamerad,camera,scontext,android,权限,AVC From: https://www.cnblogs.com/yuanqiangfei/p/18104061