Merge "Allow virtual camera to use fd's from graphic composer" into main am: f8ab94fa08
am: 449b8ccd88
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2977091 Change-Id: I4c57a6d1c690a705bd95f8aae3bfcc32671aa488 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
9c895c46b6
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ hal_client_domain(virtual_camera, hal_graphics_allocator)
|
||||||
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 to use graphics composer fd-s (fences).
|
||||||
|
allow virtual_camera hal_graphics_composer:fd use;
|
||||||
|
|
||||||
# For collecting bugreports.
|
# For collecting bugreports.
|
||||||
allow virtual_camera dumpstate:fd use;
|
allow virtual_camera dumpstate:fd use;
|
||||||
allow virtual_camera dumpstate:fifo_file write;
|
allow virtual_camera dumpstate:fifo_file write;
|
||||||
|
|
Loading…
Reference in a new issue