diff --git a/healthd.te b/healthd.te index d09eab49021eaa68ae4a83e8d685f004466c94f1..4f2a2eaad5569461ceb19124311244f85d094a02 100644 --- a/healthd.te +++ b/healthd.te @@ -5,6 +5,9 @@ type healthd, domain, domain_deprecated; # Write to /dev/kmsg allow healthd kmsg_device:chr_file rw_file_perms; +# Read access to pseudo filesystems. +r_dir_file(healthd, sysfs) + allow healthd self:capability { net_admin sys_tty_config }; wakelock_use(healthd) allow healthd self:netlink_kobject_uevent_socket create_socket_perms;