Allow drm hals to access allocator hal

Bug: 150468341
Test: atest VtsHalDrmV1_3TargetTest
Change-Id: Iea8934567cda343dedf17f75cb0807a68742764d
This commit is contained in:
Robert Shih 2020-04-10 16:50:11 -07:00
parent 000ec93900
commit 0ade37909c
2 changed files with 3 additions and 2 deletions

View file

@ -24,6 +24,9 @@ allow hal_drm cgroup:file w_file_perms;
allow hal_drm ion_device:chr_file rw_file_perms;
allow hal_drm hal_graphics_allocator:fd use;
# Allow access to hidl_memory allocation service
allow hal_drm hal_allocator_server:fd use;
# Allow access to fds allocated by mediaserver
allow hal_drm mediaserver:fd use;

View file

@ -6,5 +6,3 @@ init_daemon_domain(hal_drm_default)
allow hal_drm_default hal_codec2_server:fd use;
allow hal_drm_default hal_omx_server:fd use;
allow hal_drm_default hal_allocator_server:fd use;