Skip to content

Commit

Permalink
Merge "Allow virtual camera to use fd's from graphic composer" into m…
Browse files Browse the repository at this point in the history
…ain am: f8ab94f

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2977091

Change-Id: I4a49700af6b9798045cf026c06d3cb68913cb596
Signed-off-by: Automerger Merge Worker <[email protected]>
  • Loading branch information
jsebechlebsky authored and android-build-merge-worker-robot committed Mar 4, 2024
2 parents 1bfa255 + f8ab94f commit 449b8cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions private/virtual_camera.te
Original file line number Diff line number Diff line change
Expand Up @@ -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: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.
allow virtual_camera dumpstate:fd use;
allow virtual_camera dumpstate:fifo_file write;
Expand Down

0 comments on commit 449b8cc

Please sign in to comment.