Camera@Display denied sw_sync

camera相關進程出現下面selinux 權限問題:
02-26 11:03:53.338000 464 464 W Camera@Display: type=1400 audit(0.0:200): avc: denied { read write } for name="sw_sync" dev="tmpfs" ino=9239 scontext=u:r:mtk_hal_camera:s0 tcontext=u:object_r:sw_sync_device:s0 tclass=chr_file permissive=0

請添加下面權限後:
#====================== mtk_hal_camera.te ======================
allow mtk_hal_camera sw_sync_device:chr_file rw_file_perms;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章