aboutsummaryrefslogtreecommitdiffstats
path: root/shell.te
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2014-12-30 15:21:50 -0800
committerdcashman <dcashman@google.com>2014-12-30 15:26:29 -0800
commit0780f30c80740c3a19e70e9ffa25631e5b9a9ced (patch)
tree3a19197c9f4d8fe04aa36df12773a79b7c260b6d /shell.te
parent39c339a4c456fd746e23645b481219da48d0d17a (diff)
downloadandroid_external_sepolicy-0780f30c80740c3a19e70e9ffa25631e5b9a9ced.tar.gz
android_external_sepolicy-0780f30c80740c3a19e70e9ffa25631e5b9a9ced.tar.bz2
android_external_sepolicy-0780f30c80740c3a19e70e9ffa25631e5b9a9ced.zip
Allow dumpstate and shell to list services.
Addresses the following denials: avc: denied { list } for service=NULL scontext=u:r:shell:s0 tcontext=u:r:servicemanager:s0 tclass=service_manager avc: denied { list } for service=NULL scontext=u:r:dumpstate:s0 tcontext=u:r:servicemanager:s0 tclass=service_manager Bug: 18864737 Change-Id: I72bd2cd9663f1df9410c2139411038fa997bf1b4
Diffstat (limited to 'shell.te')
-rw-r--r--shell.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell.te b/shell.te
index 00e991b..3e30adc 100644
--- a/shell.te
+++ b/shell.te
@@ -55,3 +55,6 @@ allow shell debugfs:file r_file_perms;
# allow shell to run dmesg
allow shell kernel:system syslog_read;
+
+# allow shell to list services
+allow shell servicemanager:service_manager list;