summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeita Espinoza <clouddarkgenesis@gmail.com>2017-07-14 21:12:03 +0000
committerSteven Lay <arbiter1000@gmail.com>2017-07-24 06:24:05 +0000
commitaefdc24c18de1d48645446bdead8b13b1553cfdc (patch)
tree05a45f08539dcfe179595302b768a1109201fd76
parent768059d27a85eb9be40b6c9570193d9a9cb8ba72 (diff)
shinano: Address rild denial from .291 blobs
avc denied {read} for name="u:object_r:ta_prop:s0" dev="tmpfs" ino=7216 scontext=u:r:rild:s0 tcontext=u:object_r:ta_prop:s0 tclass=file permissive=0 avc denied {open} for name="u:object_r:ta_prop:s0" dev="tmpfs" ino=7212 scontext=u:r:rild:s0 tcontext=u:object_r:ta_prop:s0 tclass=file permissive=0 avc: denied {getattr} for pid=403 comm="rild" path="/dev/__properties__/ u:object_r:ta_prop:s0" dev="tmpfs" ino=9225 scontext=u:r:rild:s0 tcontext=u:object_r:ta_prop:s0 tclass=file permissive=0 Change-Id: I4fa966bfe7fdb97fe3123e0915f74f7843534979
-rw-r--r--sepolicy/rild.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/rild.te b/sepolicy/rild.te
new file mode 100644
index 0000000..5178ce8
--- /dev/null
+++ b/sepolicy/rild.te
@@ -0,0 +1,2 @@
+# Allow rild read to ro.semc
+allow rild ta_prop:file { read open getattr };