Allow virtual camera to use fd's from graphic composer

This is causing denials in case the fence fd comes from
graphic composer.

Bug: 301023410
Test: atest CtsCameraTestCases with test virtual camera enabled
Change-Id: I14cb26c058342470aa2dc214ab47cc61aa2f3255
This commit is contained in:
Jan Sebechlebsky 2024-02-26 11:55:16 +01:00
parent 803f20b5a3
commit fd7e285504

View file

@ -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;