summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-03-22 18:29:47 +0200
committerMichael Bestas <mkbestas@lineageos.org>2018-04-20 18:40:47 +0300
commitc51e127991a0f62dd96af0490a0ffbadd2c0c33d (patch)
treed795831b23035d6ee9fed8d52632fad18fb8f3cd
parentd233d1797631f9d8b00a009fec6adeddc8f5199c (diff)
downloadandroid_device_qcom_sepolicy-c51e127991a0f62dd96af0490a0ffbadd2c0c33d.tar.gz
android_device_qcom_sepolicy-c51e127991a0f62dd96af0490a0ffbadd2c0c33d.tar.bz2
android_device_qcom_sepolicy-c51e127991a0f62dd96af0490a0ffbadd2c0c33d.zip
legacy: Allow perfd write to sysfs_kgsl
* msm8916 perfd wants to write to "max_pwrlevel" Change-Id: I86e9f7ac7cc82f3d8605d215aa39171b385ecc61
-rw-r--r--legacy-common/perfd.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy-common/perfd.te b/legacy-common/perfd.te
index 2bd680ae..5595fffa 100644
--- a/legacy-common/perfd.te
+++ b/legacy-common/perfd.te
@@ -28,6 +28,7 @@ allow perfd sysfs_lib:file w_file_perms;
# Allow access to kgsl sysfs entry
r_dir_file(perfd, sysfs_kgsl)
+allow perfd sysfs_kgsl:file write;
# mpctl socket
allow perfd mpctl_socket:dir rw_dir_perms;