aboutsummaryrefslogtreecommitdiffstats
path: root/healthd.te
diff options
context:
space:
mode:
Diffstat (limited to 'healthd.te')
-rw-r--r--healthd.te11
1 files changed, 4 insertions, 7 deletions
diff --git a/healthd.te b/healthd.te
index 2ea825c..cd5429b 100644
--- a/healthd.te
+++ b/healthd.te
@@ -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)