aboutsummaryrefslogtreecommitdiffstats
path: root/shell.te
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2015-03-03 11:20:15 -0800
committerdcashman <dcashman@google.com>2015-03-03 11:38:07 -0800
commit23f336156daf61ba07c024af2fe96994605f46eb (patch)
treeb4623fd212a55d64149265a182ff1ab86d52b905 /shell.te
parent3e113edf0225bbe54a0f98353dd22de855ee2657 (diff)
downloadandroid_external_sepolicy-23f336156daf61ba07c024af2fe96994605f46eb.tar.gz
android_external_sepolicy-23f336156daf61ba07c024af2fe96994605f46eb.tar.bz2
android_external_sepolicy-23f336156daf61ba07c024af2fe96994605f46eb.zip
Record observed system_server servicemanager service requests.
Also formally allow dumpstate access to all services and grant system_server access to address the following non-system_server_service entries: avc: granted { find } for service=drm.drmManager scontext=u:r:system_server:s0 tcontext=u:object_r:drmserver_service:s0 tclass=service_manager avc: granted { find } for service=nfc scontext=u:r:system_server:s0 tcontext=u:object_r:nfc_service:s0 tclass=service_manager Bug: 18106000 Change-Id: Iad16b36acf44bce52c4824f8b53c0e7731c25602
Diffstat (limited to 'shell.te')
-rw-r--r--shell.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell.te b/shell.te
index d31a496..8cfe9ac 100644
--- a/shell.te
+++ b/shell.te
@@ -60,6 +60,7 @@ allow shell kernel:system syslog_read;
# allow shell access to services
allow shell servicemanager:service_manager list;
allow shell service_manager_type:service_manager find;
+service_manager_local_audit_domain(shell)
# allow shell to look through /proc/ for ps, top
allow shell domain:dir { search open read getattr };