mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sdm710-common
synced 2026-01-27 13:56:36 +00:00
sdm710-common: sepolicy: Allow camera HAL to access graphics allocator service
Resolves:
E SELinux : avc: denied { find } for interface=android.hardware.graphics.allocator::IAllocator sid=u:r:hal_camera_default:s0 pid=5709 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:hal_graphics_allocator_hwservice:s0 tclass=hwservice_manager permissive=0
Change-Id: Ie33a4b317ece365df7658c8d056a38ae76c3b101
This commit is contained in:
2
sepolicy/vendor/hal_camera_default.te
vendored
2
sepolicy/vendor/hal_camera_default.te
vendored
@@ -1,3 +1,5 @@
|
||||
hal_client_domain(hal_camera_default, hal_graphics_allocator)
|
||||
|
||||
allow hal_camera_default gpu_device:chr_file rw_file_perms;
|
||||
|
||||
allow hal_camera_default remosaic_daemon_service:service_manager find;
|
||||
|
||||
Reference in New Issue
Block a user