aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermal-engine.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r--sepolicy/thermal-engine.te13
1 files changed, 2 insertions, 11 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te
index ffd8a30..5c1b2cd 100644
--- a/sepolicy/thermal-engine.te
+++ b/sepolicy/thermal-engine.te
@@ -1,13 +1,4 @@
typeattribute thermal-engine data_between_core_and_vendor_violators;
-allow thermal-engine sysfs_msm_subsys:dir search;
-allow thermal-engine sysfs_msm_subsys:file { getattr open read setattr };
-allow thermal-engine sysfs_usb_supply:dir search;
-allow thermal-engine sysfs_usb_supply:file r_file_perms;
-
-allow thermal-engine sysfs_soc:dir search;
-
-allow thermal-engine sysfs_msm_core:dir search;
-allow thermal-engine sysfs_msm_core:file r_file_perms;
-
-allow thermal-engine sysfs_rmtfs:dir search;
+allow thermal-engine { sysfs_msm_core sysfs_msm_subsys sysfs_usb_supply }:file r_file_perms;
+allow thermal-engine { sysfs_soc sysfs_msm_core sysfs_rmtfs sysfs_msm_subsys sysfs_usb_supply }:dir search;