Add wait_for_keymaster

Bug: 79228237
Test: audit2allow finds no relevant denials on boot
Merged-In: Ia80b77ba9a1ec2354127cd0ef68d50ebcf593fb0
Change-Id: Ia80b77ba9a1ec2354127cd0ef68d50ebcf593fb0
This commit is contained in:
Paul Crowley 2018-05-08 15:45:38 -07:00
parent 2a3f55b5e0
commit 9f760306ae
4 changed files with 16 additions and 0 deletions

View file

@ -137,6 +137,9 @@
vold_prepare_subdirs
vold_prepare_subdirs_exec
vold_service
wait_for_keymaster
wait_for_keymaster_exec
wait_for_keymaster_tmpfs
wpantund
wpantund_exec
wpantund_service

View file

@ -113,6 +113,9 @@
vold_prepare_subdirs
vold_prepare_subdirs_exec
vold_service
wait_for_keymaster
wait_for_keymaster_exec
wait_for_keymaster_tmpfs
wm_trace_data_file
wpantund
wpantund_exec

View file

@ -294,6 +294,7 @@
/system/bin/stats u:object_r:stats_exec:s0
/system/bin/statsd u:object_r:statsd_exec:s0
/system/bin/bpfloader u:object_r:bpfloader_exec:s0
/system/bin/wait_for_keymaster u:object_r:wait_for_keymaster_exec:s0
#############################
# Vendor files

View file

@ -0,0 +1,9 @@
# wait_for_keymaster service
type wait_for_keymaster, domain, coredomain;
type wait_for_keymaster_exec, exec_type, file_type;
init_daemon_domain(wait_for_keymaster)
hal_client_domain(wait_for_keymaster, hal_keymaster)
allow wait_for_keymaster kmsg_device:chr_file w_file_perms;