diff --git a/public/hal_health.te b/public/hal_health.te index 068f23bf798471c26b4730d75886dd939d5d2e77..c0a0f804cb021105c17e303a98a95f93e4b150e9 100644 --- a/public/hal_health.te +++ b/public/hal_health.te @@ -25,3 +25,6 @@ r_dir_file(hal_health_server, sysfs_batteryinfo) # Allow to wake up to send periodic events wakelock_use(hal_health_server) + +# Write to /dev/kmsg +allow hal_health_server kmsg_device:chr_file w_file_perms;