summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrikanth Uyyala <suyyala@codeaurora.org>2014-11-12 18:16:10 +0530
committerSteve Kondik <steve@cyngn.com>2015-01-15 18:34:33 -0800
commit7f134914b0ce5117518b0b5be1dcfeda30fff479 (patch)
tree053910875e231ae87ab382463ad82f76c2cdef92
parentc6a655da9c9e21d5d4eb8754585893a4ccbd6d2a (diff)
downloadandroid_device_qcom_sepolicy-7f134914b0ce5117518b0b5be1dcfeda30fff479.tar.gz
android_device_qcom_sepolicy-7f134914b0ce5117518b0b5be1dcfeda30fff479.tar.bz2
android_device_qcom_sepolicy-7f134914b0ce5117518b0b5be1dcfeda30fff479.zip
selinux: audio: update policy file for audio
update policy file to allow QACT to access debugfs Change-Id: Ia4897325e1869015f4e205823eff1e923ba3abef
-rw-r--r--common/mediaserver.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/mediaserver.te b/common/mediaserver.te
index 6f745cfc..3da8d8a5 100644
--- a/common/mediaserver.te
+++ b/common/mediaserver.te
@@ -39,3 +39,7 @@ unix_socket_connect(mediaserver, thermal, thermal-engine)
allow mediaserver firmware_file:dir search;
allow mediaserver firmware_file:file { read getattr open };
+#access to audio
+userdebug_or_eng('
+allow mediaserver debugfs:file rw_file_perms;
+')