type=1400 audit(0.0:97): avc: denied { search } for name="recovery" dev="mmcblk0p25" ino=8193 scontext=u:r:system_app:s0 tcontext=u:object_r:cache_recovery_file:s0 tclass=dir permissive=0
解決辦法:在android原生代碼下添加相應的權限
添加目錄為/device/qcom/sepolicy/common這個目錄
添加規則:找相對應的位置即可並且添加在system_app.te文件下
allow system_app cache_recovery_file:dir { search } ;
Tags:
文章來源: