diff options
author | Steven Moreland <smoreland@google.com> | 2018-05-30 16:47:21 -0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-21 21:26:27 +0200 |
commit | 247e0fa8cf8fc581fb5fc8c44f17f726552b4781 (patch) | |
tree | 05c24822727a6a774c7b071987fdfad864a2692c /sepolicy | |
parent | ae48d8ce69c66200d0f28460ac6c267ca1ed692a (diff) |
sdm660-common: sepolicy: camera hal is hal_graphics_allocator_client
Before it had permissions to use hal_graphics_allocator_hwservice,
but it didn't declare itself to be an allocator_client.
Bug: 80319537
Test: boot + sanity
Change-Id: I93a23cd3db270491e82b378507f3cb55063561e8
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/vendor/hal_camera_default.te | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sepolicy/vendor/hal_camera_default.te b/sepolicy/vendor/hal_camera_default.te index eb5e65f..a758083 100644 --- a/sepolicy/vendor/hal_camera_default.te +++ b/sepolicy/vendor/hal_camera_default.te @@ -1,6 +1,4 @@ hal_client_domain(hal_camera_default, hal_configstore) -binder_call(hal_camera_default, hal_graphics_allocator_default) - -allow hal_camera_default hal_graphics_allocator_hwservice:hwservice_manager find; +hal_client_domain(hal_camera_default, hal_graphics_allocator) allow hal_camera_default sysfs_kgsl:file r_file_perms; |