summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiju Mathew <shijum@codeaurora.org>2014-12-01 21:02:36 -0500
committerGerrit - the friendly Code Review server <code-review@localhost>2014-12-04 10:54:22 -0800
commita23cdf85764a48d43ff5d58576a4ccc022909d68 (patch)
treee914bb7c4bfa541ed1ecb0057250c061434013a5
parent0cc214480c94cbbc1d79d288cf0677ed13bcf59f (diff)
downloadandroid_device_qcom_sepolicy-a23cdf85764a48d43ff5d58576a4ccc022909d68.tar.gz
android_device_qcom_sepolicy-a23cdf85764a48d43ff5d58576a4ccc022909d68.tar.bz2
android_device_qcom_sepolicy-a23cdf85764a48d43ff5d58576a4ccc022909d68.zip
sepolicy: Update thermal policy to enable graphics mitigation
Update thermal policy so that thermal-engine will be able to access graphics sysfs nodes to do graphics mitigation. Change-Id: I13cef8e82b60382e2ac55966ba72053e1c6cd478
-rw-r--r--common/thermal-engine.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/thermal-engine.te b/common/thermal-engine.te
index 053ca847..158f6a93 100644
--- a/common/thermal-engine.te
+++ b/common/thermal-engine.te
@@ -19,6 +19,7 @@ allow thermal-engine thermal_socket:sock_file { create setattr open read write }
allow thermal-engine sysfs_thermal:dir r_dir_perms;
allow thermal-engine sysfs_thermal:file rw_file_perms;
allow thermal-engine sysfs_thermal:lnk_file read;
+allow thermal-engine sysfs:file write;
#This is required for qmi access
qmux_socket(thermal-engine);
allow thermal-engine sysfs_mpdecision:file rw_file_perms;