am 9f2d3f93
: Merge "Give healthd permission to write sys properties to allow quick boot from charger mode."
* commit '9f2d3f93dae6b766a8c21e81b6dc56bf7374f4ef': Give healthd permission to write sys properties to allow quick boot from charger mode.
This commit is contained in:
commit
a0114f4e10
1 changed files with 5 additions and 1 deletions
|
@ -32,5 +32,9 @@ allow healthd ashmem_device:chr_file execute;
|
|||
allow healthd self:process execmem;
|
||||
allow healthd proc_sysrq:file rw_file_perms;
|
||||
allow healthd self:capability sys_boot;
|
||||
|
||||
allow healthd healthd_service:service_manager add;
|
||||
|
||||
# Healthd needs to tell init to continue the boot
|
||||
# process when running in charger mode.
|
||||
unix_socket_connect(healthd, property, init)
|
||||
allow healthd system_prop:property_service set;
|
||||
|
|
Loading…
Reference in a new issue