From 50f159b2ce3ecfbf5326d1c42dbbce07f29a4009 Mon Sep 17 00:00:00 2001 From: dd3boh Date: Fri, 25 Aug 2017 09:26:01 +0200 Subject: 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. --- sepolicy/thermal-engine.te | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sepolicy/thermal-engine.te (limited to 'sepolicy') 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; -- cgit v1.2.3