Add policy for 'blank_screen'.

am: 8bda3dfaa1

Change-Id: If584f3c70360f673079759417ef69e583a7d7df5
This commit is contained in:
Steven Moreland 2018-01-22 20:34:35 +00:00 committed by android-build-merger
commit 4c6f0a0902
3 changed files with 10 additions and 0 deletions

6
private/blank_screen.te Normal file
View file

@ -0,0 +1,6 @@
type blank_screen, domain, coredomain;
type blank_screen_exec, exec_type, file_type;
init_daemon_domain(blank_screen)
hal_client_domain(blank_screen, hal_light)

View file

@ -5,6 +5,9 @@
(typeattributeset new_objects
( adbd_exec
bootloader_boot_reason_prop
blank_screen
blank_screen_exec
blank_screen_tmpfs
bpfloader
bpfloader_exec
broadcastradio_service

View file

@ -179,6 +179,7 @@
#
/system(/.*)? u:object_r:system_file:s0
/system/bin/atrace u:object_r:atrace_exec:s0
/system/bin/blank_screen u:object_r:blank_screen_exec:s0
/system/bin/e2fsdroid u:object_r:e2fs_exec:s0
/system/bin/mke2fs u:object_r:e2fs_exec:s0
/system/bin/e2fsck -- u:object_r:fsck_exec:s0