Merge "Add missing SELinux rule for accessing GPU" into main am: f41e544cb2
am: 2bb77d1934
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/3125913 Change-Id: I9d9241d8c3d0a3ab36ee81e5ce050c09a7914b77 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
b0e2bd676b
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 to use GPU
|
||||||
allow virtual_camera gpu_device:chr_file rw_file_perms;
|
allow virtual_camera gpu_device:chr_file rw_file_perms;
|
||||||
allow virtual_camera gpu_device:dir r_dir_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 to use graphics composer fd-s (fences).
|
||||||
allow virtual_camera hal_graphics_composer:fd use;
|
allow virtual_camera hal_graphics_composer:fd use;
|
||||||
|
|
Loading…
Reference in a new issue