avc: denied { read } for pid=1213 comm=".app.homescreen" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:system_app:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1
分析过程:
缺少什么权限:??????{?read }权限,
谁缺少权限:????????scontext=u:r:system_app:s0
对哪个文件缺少权限:tcontext=u:object_r:unlabeled
什么类型的文件:????tclass=dir
完整的意思:system_app进程对unlabeled类型的dir缺少read权限。
解决方法:
在common/sepolicy/system_app.te中添加:
allow system_app unlabeled:dir { read };
其他的avc: denied 问题同理。