From 8538fcdc2ace90ea8762a968d5ce43b599dd82c6 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Tue, 5 Nov 2019 06:49:25 +0000 Subject: hikey/hikey960: Add hal_health_default.te spolicy The new Battery health HAL requires access to sysfs to get details on the battery, without which we end up quickly going into suspend after boot. Change-Id: Ibb7fbb4a0d8885a17126f1e2028bfb70b92a1ee1 Signed-off-by: John Stultz --- sepolicy/hal_health_default.te | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sepolicy/hal_health_default.te diff --git a/sepolicy/hal_health_default.te b/sepolicy/hal_health_default.te new file mode 100644 index 00000000..182c6554 --- /dev/null +++ b/sepolicy/hal_health_default.te @@ -0,0 +1,2 @@ +#============= hal_health_default ============== +allow hal_health_default sysfs:file {open read}; -- cgit v1.2.3