Add missing SELinux rule for accessing GPU
Bug: 301023410 Test: atest virtual_camera_tests CtsVirtualDevicesCameraTestCases CtsVirtualDevicesCameraCtsTestCases Merged-In: Iaaab570fc2cb3b2bfe17f964a52b09a0549e0a8b Change-Id: Iaaab570fc2cb3b2bfe17f964a52b09a0549e0a8b
This commit is contained in:
parent
1327971c7c
commit
9999b0a332
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ hal_client_domain(virtual_camera, hal_graphics_allocator)
|
|||
# Allow virtual_camera to use GPU
|
||||
allow virtual_camera gpu_device:chr_file rw_file_perms;
|
||||
allow virtual_camera gpu_device:dir r_dir_perms;
|
||||
allow virtual_camera sysfs_gpu:file r_file_perms;
|
||||
|
||||
# Allow virtual camera to use graphics composer fd-s (fences).
|
||||
allow virtual_camera hal_graphics_composer:fd use;
|
||||
|
|
Loading…
Reference in a new issue