aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermal-engine.te
diff options
context:
space:
mode:
authorCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-04-29 02:45:22 +0200
committerCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-05-02 23:46:36 +0200
commitb5b41d341dd744c40d3908550daaafcee6fe7b4b (patch)
tree3c13b9ed2d88a4b15eefb61339152a42eda3104a /sepolicy/thermal-engine.te
parent008f0bb54500d59599f1b61522dc8ac75bfd2e5c (diff)
msm8996-common: sepolicy: Cleanup
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r--sepolicy/thermal-engine.te17
1 files changed, 9 insertions, 8 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te
index 02f8521..a0d2651 100644
--- a/sepolicy/thermal-engine.te
+++ b/sepolicy/thermal-engine.te
@@ -1,10 +1,11 @@
-type_transition thermal-engine system_data_file:file thermal_data_file "decrypt.txt";
-allow thermal-engine sysfs_kgsl:file r_file_perms;
-allow thermal-engine system_data_file:dir w_dir_perms;
-allow thermal-engine thermal_data_file:file create_file_perms;
+allow thermal-engine sysfs_msm_subsys:dir search;
+
allow thermal-engine sysfs_usb_supply:dir search;
allow thermal-engine sysfs_usb_supply:file r_file_perms;
-allow thermal-engine diag_device:chr_file { read write };
-allow thermal-engine diag_device:chr_file open;
-allow thermal-engine diag_device:chr_file ioctl;
-allow thermal-engine sysfs_uio:dir read;
+
+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;