aboutsummaryrefslogtreecommitdiffstats
path: root/radio.te
diff options
context:
space:
mode:
authorRiley Spahn <rileyspahn@google.com>2014-07-07 13:56:27 -0700
committerRiley Spahn <rileyspahn@google.com>2014-07-14 11:09:27 -0700
commitb8511e0d98880a683c276589ab7d8d7666b7f8c1 (patch)
tree1637502428877a77f91c0c701ab5eef966fcd1a4 /radio.te
parentc103da877b72aae80616dbc192982aaf75dfe888 (diff)
downloadandroid_external_sepolicy-b8511e0d98880a683c276589ab7d8d7666b7f8c1.tar.gz
android_external_sepolicy-b8511e0d98880a683c276589ab7d8d7666b7f8c1.tar.bz2
android_external_sepolicy-b8511e0d98880a683c276589ab7d8d7666b7f8c1.zip
Add access control for each service_manager action.
Add SELinux MAC for the service manager actions list and find. Add the list and find verbs to the service_manager class. Add policy requirements for service_manager to enforce policies to binder_use macro. Change-Id: I224b1c6a6e21e3cdeb23badfc35c82a37558f964
Diffstat (limited to 'radio.te')
-rw-r--r--radio.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/radio.te b/radio.te
index d0018ea..11691cb 100644
--- a/radio.te
+++ b/radio.te
@@ -28,3 +28,12 @@ auditallow radio system_radio_prop:property_service set;
allow radio ctl_rildaemon_prop:property_service set;
allow radio radio_service:service_manager add;
+
+# Audited locally.
+service_manager_local_audit_domain(radio)
+auditallow radio {
+ service_manager_type
+ -mediaserver_service
+ -radio_service
+ -system_server_service
+}:service_manager find;