emulator: fix selinux issues

with cas/camera/drm hals

BUG: 64726466

Test: build aosp_x86-eng, boot emulator
without cas/camera/drm hals killed by
selinux avc denials; camera can take
pictures

Change-Id: I8a154fdb5d7aa7763aab2b912976eb9e1d329cdb
This commit is contained in:
bohu 2017-08-23 23:42:33 -07:00
parent d463548af1
commit 2ab3cf3c1f
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,3 @@
vndbinder_use(hal_camera_default);
allow hal_camera_default hal_graphics_mapper_hwservice:hwservice_manager find;
hal_client_domain(hal_camera_default, hal_graphics_composer)

View file

@ -0,0 +1 @@
vndbinder_use(hal_cas_default);

View file

@ -0,0 +1,2 @@
vndbinder_use(hal_drm_default);
hal_client_domain(hal_drm_default, hal_graphics_composer)