aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermal-engine.te
diff options
context:
space:
mode:
authordd3boh <dade.garberi@gmail.com>2017-08-25 09:26:01 +0200
committerdd3boh <dade.garberi@gmail.com>2017-08-25 18:46:37 +0200
commit50f159b2ce3ecfbf5326d1c42dbbce07f29a4009 (patch)
tree6f21db42cd946c37fa162d0a435293d67386392d /sepolicy/thermal-engine.te
parent16e8f56e30851ab1f5756f72d7abaa28eeacff32 (diff)
Squash revert of the msm thermal simple drivers [1/2]
It doesn't seem so efficent right now, so let's try to fall back to the old thermal engine driver for now at least Revert "rootdir: Fall back to the old power management" This reverts commit 98204762dd6569f4b4ded1ee0a51710efe7edacc. Revert "z2_plus: Configure msm-thermal-simple driver" This reverts commit d1830933a6c54a6ac9c7a5ac9a3edebdb326420b. Revert "z2_plus: Optimize power config on boot" This reverts commit 5c12086dac733836c91a4ad415aea5a728aa8fab. Revert "z2_plus: Remove msm-thermal, thermal-engine, and bcl" This reverts commit f4bd79af37442fbf594c6523950e3e9945a7cd70.
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r--sepolicy/thermal-engine.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te
new file mode 100644
index 0000000..7565599
--- /dev/null
+++ b/sepolicy/thermal-engine.te
@@ -0,0 +1,9 @@
+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_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;