From c516bba54a49b0161fb41586ef0746ef1ee23dad Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 24 May 2019 03:20:15 +0300 Subject: sdm660-common: sepolicy: Resolve camera HAL denials Change-Id: I589b8196c201baebd9c952a70043d317f2eb5d6b --- sepolicy/vendor/hal_camera_default.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sepolicy/vendor/hal_camera_default.te b/sepolicy/vendor/hal_camera_default.te index 6a3d424..904d140 100644 --- a/sepolicy/vendor/hal_camera_default.te +++ b/sepolicy/vendor/hal_camera_default.te @@ -1 +1,7 @@ +binder_call(hal_camera_default, hal_configstore_default) +binder_call(hal_camera_default, hal_graphics_allocator_default) + +allow hal_camera_default hal_configstore_ISurfaceFlingerConfigs:hwservice_manager find; +allow hal_camera_default hal_graphics_allocator_hwservice:hwservice_manager find; + allow hal_camera_default sysfs_kgsl:file r_file_perms; -- cgit v1.2.3