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:
parent
d463548af1
commit
2ab3cf3c1f
3 changed files with 6 additions and 0 deletions
3
target/board/generic/sepolicy/hal_camera_default.te
Normal file
3
target/board/generic/sepolicy/hal_camera_default.te
Normal 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)
|
1
target/board/generic/sepolicy/hal_cas_default.te
Normal file
1
target/board/generic/sepolicy/hal_cas_default.te
Normal file
|
@ -0,0 +1 @@
|
|||
vndbinder_use(hal_cas_default);
|
2
target/board/generic/sepolicy/hal_drm_default.te
Normal file
2
target/board/generic/sepolicy/hal_drm_default.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
vndbinder_use(hal_drm_default);
|
||||
hal_client_domain(hal_drm_default, hal_graphics_composer)
|
Loading…
Reference in a new issue