mirror of
https://github.com/Evolution-X-Devices/device_oplus_mt6893-common
synced 2026-02-01 04:18:51 +00:00
RMX3031: Allow surfaceflinger and mtk hal camera to find mtk mmagent
* 07-28 18:47:44.000 548 548 E SELinux : avc: denied { find } for interface=vendor.mediatek.hardware.mmagent::IMMAgent sid=u:r:surfaceflinger:s0 pid=742 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:mtk_hal_mmagent_hwservice:s0 tclass=hwservice_manager permissive=0
07-28 18:46:28.653 548 548 E SELinux : avc: denied { find } for interface=vendor.mediatek.hardware.mmagent::IMMAgent sid=u:r:mtk_hal_camera:s0 pid=827 scontext=u:r:mtk_hal_camera:s0 tcontext=u:object_r:mtk_hal_mmagent_hwservice:s0 tclass=hwservice_manager permissive=0
Signed-off-by: Nishant Kumar <www.rajsonu13@gmail.com>
This commit is contained in:
1
sepolicy/vendor/mtk_hal_camera.te
vendored
1
sepolicy/vendor/mtk_hal_camera.te
vendored
@@ -22,3 +22,4 @@ allow mtk_hal_camera proc_boost_pool:file rw_file_perms;
|
||||
binder_call(mtk_hal_camera, mtk_hal_mmagent)
|
||||
binder_call(mtk_hal_camera, opluscamera_app)
|
||||
allow mtk_hal_camera opluscamera_app:fd use;
|
||||
hal_client_domain(mtk_hal_camera, hal_mtk_mmagent)
|
||||
|
||||
1
sepolicy/vendor/surfaceflinger.te
vendored
1
sepolicy/vendor/surfaceflinger.te
vendored
@@ -1 +1,2 @@
|
||||
binder_call(surfaceflinger, mtk_hal_mmagent)
|
||||
hal_client_domain(surfaceflinger, hal_mtk_mmagent)
|
||||
|
||||
Reference in New Issue
Block a user