summaryrefslogtreecommitdiff
path: root/sepolicy/vendor
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-05-24 03:20:15 +0300
committerMichael Bestas <mkbestas@lineageos.org>2020-12-21 21:26:27 +0200
commitc516bba54a49b0161fb41586ef0746ef1ee23dad (patch)
treeda3507aee10e2184f5953b9f97027ac740a3ace4 /sepolicy/vendor
parent0031453254c9f9b78f4eee0d4b4344822ccfbf81 (diff)
sdm660-common: sepolicy: Resolve camera HAL denials
Change-Id: I589b8196c201baebd9c952a70043d317f2eb5d6b
Diffstat (limited to 'sepolicy/vendor')
-rw-r--r--sepolicy/vendor/hal_camera_default.te6
1 files changed, 6 insertions, 0 deletions
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;