From c26ac738e5b61e7dfd00300a3028e5f226782c1f Mon Sep 17 00:00:00 2001 From: Tej Singh <singhtejinder@google.com> Date: Fri, 23 Feb 2018 16:01:27 -0800 Subject: [PATCH] Statsd sepolicy for thermal hal Updates statsd sepolicy so it can use the thermal hal. Test: verified these policies solved sepolicy issues with thermal hal. Change-Id: I36839a72494b084d5742c4d83c3ce9814102b974 --- private/statsd.te | 1 + 1 file changed, 1 insertion(+) diff --git a/private/statsd.te b/private/statsd.te index e7af6c511..c63cba92b 100644 --- a/private/statsd.te +++ b/private/statsd.te @@ -71,6 +71,7 @@ binder_call(statsd, stats) # Allow access to with hardware layer and process stats. allow statsd proc_uid_cputime_showstat:file { getattr open read }; hal_client_domain(statsd, hal_power) +hal_client_domain(statsd, hal_thermal) # Allow 'adb shell cmd' to upload configs and download output. allow statsd adbd:fd use; -- GitLab