Android系統權限不足報錯

分類:編程 時間:2017-02-23

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:

文章來源:


ads
ads

相關文章
ads

相關文章

ad