summaryrefslogtreecommitdiffstats
path: root/sepolicy/qcom/thermal-engine.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/qcom/thermal-engine.te')
-rw-r--r--sepolicy/qcom/thermal-engine.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/qcom/thermal-engine.te b/sepolicy/qcom/thermal-engine.te
index e616275..8f8967e 100644
--- a/sepolicy/qcom/thermal-engine.te
+++ b/sepolicy/qcom/thermal-engine.te
@@ -1,4 +1,7 @@
allow thermal-engine self:netlink_kobject_uevent_socket create_socket_perms;
r_dir_file(thermal-engine, sysfs_rqstats);
+allow thermal-engine sysfs_battery_supply:file rw_file_perms;
+allow thermal-engine sysfs_battery_supply:dir r_dir_perms;
+
allow thermal-engine self:capability { net_admin } ;