summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvincenttew <vincenttew@google.com>2020-10-27 10:35:33 +0800
committervincenttew <vincenttew@google.com>2020-10-27 10:40:29 +0800
commit303c22016cbd28b47634fe8c370003d83fa236a7 (patch)
treef7d8b3decf25f54e01cc0341689d8fce5631efd4
parent2888c074c1d1f1731460549a367e1a93c1213b98 (diff)
downloadbarbet-sepolicy-303c22016cbd28b47634fe8c370003d83fa236a7.tar.gz
sepolicy: add sepolicy for hal_audio_default to read prop
[ 15.445891] type=1400 audit(1603419460.392:4): avc: denied { read } for comm="writer" name="u:object_r:default_prop:s0" dev="tmpfs" ino=22940 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 [ 20.310098] type=1400 audit(1603419465.256:7): avc: denied { read } for comm="HwBinder:846_1" name="u:object_r:default_prop:s0" dev="tmpfs" ino=22940 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 10-23 11:07:38.034 845 3206 E libc : Access denied finding property "tas.smartpa.debug.disable" 10-23 11:07:38.063 845 3206 E libc : Access denied finding property "tas.smartpa.debug.txdevice" 10-23 11:07:38.063 845 3206 E libc : Access denied finding property "tas.smartpa.debug.txformat24" $ getprop -Z "tas.smartpa.debug.disable" u:object_r:default_prop:s0 Bug: 171531583 Test: build pass Signed-off-by: vincenttew <vincenttew@google.com> Change-Id: I6bff9334f831150c436c8ef3f6573d0d9b81b6bf
-rw-r--r--vendor/google/property_contexts5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/google/property_contexts b/vendor/google/property_contexts
index ca7a57c..0d97587 100644
--- a/vendor/google/property_contexts
+++ b/vendor/google/property_contexts
@@ -1,2 +1,7 @@
# haptics
ro.vibrator.hal. u:object_r:vendor_vibrator_prop:s0
+
+# audio TAS amp
+tas.smartpa.debug.disable u:object_r:vendor_audio_prop:s0
+tas.smartpa.debug.txdeviceu u:object_r:vendor_audio_prop:s0
+tas.smartpa.debug.txformat24 u:object_r:vendor_audio_prop:s0