summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohit Aggarwal <maggarwa@codeaurora.org>2016-10-24 12:03:54 +0530
committerMohit Aggarwal <maggarwa@codeaurora.org>2016-10-24 12:06:15 +0530
commit719da800c0da7b3d73ff06adceda3cd492ae87cc (patch)
tree59fa701732f67d1702e47441fe84ba442f8f233d
parent22cbbd8e94223fb1970bc88724682cc48e231942 (diff)
downloadandroid_device_qcom_sepolicy-719da800c0da7b3d73ff06adceda3cd492ae87cc.tar.gz
android_device_qcom_sepolicy-719da800c0da7b3d73ff06adceda3cd492ae87cc.tar.bz2
android_device_qcom_sepolicy-719da800c0da7b3d73ff06adceda3cd492ae87cc.zip
sepolicy: Add support to access sysfs entries
Coresight sysfs entries are required to be accessed using diag QDSS commands. This patch adds rules to achieve the same. Change-Id: I85f9ccb34d7d6f65150bca88f5cbdd6c40fccfe0
-rw-r--r--common/qcomsysd.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/qcomsysd.te b/common/qcomsysd.te
index c1257cb8..ec9308dd 100644
--- a/common/qcomsysd.te
+++ b/common/qcomsysd.te
@@ -26,4 +26,5 @@ allow qcomsysd boot_mode_prop:property_service set;
#diag
userdebug_or_eng(`
diag_use(qcomsysd)
+ allow qcomsysd sysfs:file w_file_perms;
')