summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/shell.te
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/qcom/common/shell.te')
-rw-r--r--vendor/qcom/common/shell.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/qcom/common/shell.te b/vendor/qcom/common/shell.te
new file mode 100644
index 0000000..cd0e4a4
--- /dev/null
+++ b/vendor/qcom/common/shell.te
@@ -0,0 +1,3 @@
+# allow shell users to control kgsl perfcounters
+allow shell sysfs_kgsl_shell:file rw_file_perms;
+allow shell sysfs_msm_subsys:dir r_dir_perms;