aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheckYourScreen <nimitmehta95@gmail.com>2017-03-28 20:04:33 +0200
committerSubhrajyoti Sen <subhrajyoti12@gmail.com>2017-06-14 16:10:06 +0530
commit53611e77578730f759016e2f24984bb270d78164 (patch)
treea70d32419875ecd18aa7c37a32f4d2b297c643ed
parent006790d6fa87ddf26c4bc37b0746715ccf79a037 (diff)
sepolicy: address untrusted_app denials
Change-Id: Id8af1bef35038e9cd3d64129e876648f629aa24f Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
-rw-r--r--sepolicy/untrusted_app.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/untrusted_app.te b/sepolicy/untrusted_app.te
new file mode 100644
index 0000000..55cf25a
--- /dev/null
+++ b/sepolicy/untrusted_app.te
@@ -0,0 +1,3 @@
+allow untrusted_app rootfs:dir { read };
+allow untrusted_app mnt_media_rw_file:dir { getattr };
+allow untrusted_app sysfs:file r_file_perms;