Allow EVS HAL to access data from surfaceflinger

Bug: 216727303
Test: m -j selinux_policy
Change-Id: Id89a99372e334c87cd1c80c06b5b695e5c8d69e6
This commit is contained in:
Changyeon Jo 2022-03-07 07:38:40 +00:00
parent 97bef10ca6
commit 8c4ebe21f5

View File

@ -15,6 +15,9 @@ hal_client_domain(hal_evs_default, hal_graphics_composer)
binder_call(hal_evs_default, automotive_display_service_server)
allow hal_evs_default fwk_automotive_display_hwservice:hwservice_manager find;
# allow to access data from surfaceflinger
allow hal_evs_default surfaceflinger:fd use;
# allow to access EGL
allow hal_evs_default gpu_device:chr_file rw_file_perms;
allow hal_evs_default gpu_device:dir search;