diff options
Diffstat (limited to 'healthd.te')
-rw-r--r-- | healthd.te | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -2,12 +2,10 @@ # it lives in the rootfs and has no unique file type. type healthd, domain; -write_klog(healthd) -# /dev/__null__ created by init prior to policy load, -# open fd inherited by healthd. -allow healthd tmpfs:chr_file { read write }; +# Write to /dev/kmsg +allow healthd kmsg_device:chr_file rw_file_perms; -allow healthd self:capability { net_admin mknod sys_tty_config }; +allow healthd self:capability { net_admin sys_tty_config }; wakelock_use(healthd) allow healthd self:netlink_kobject_uevent_socket create_socket_perms; binder_use(healthd) @@ -42,5 +40,4 @@ allow healthd healthd_service:service_manager { add find }; # 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; +set_prop(healthd, system_prop) |