aboutsummaryrefslogtreecommitdiffstats
path: root/radio.te
diff options
context:
space:
mode:
authorRiley Spahn <rileyspahn@google.com>2014-06-05 15:52:02 -0700
committerRiley Spahn <rileyspahn@google.com>2014-06-12 20:46:07 +0000
commitf90c41f6e8d5c1266e154f46586a2ceb260f1be6 (patch)
tree738e3eb5edacaa0edeb7afbd74cf66cc2b043e87 /radio.te
parent62af83810baa7a6c07a8673136c1cdf5a6763b48 (diff)
downloadandroid_external_sepolicy-f90c41f6e8d5c1266e154f46586a2ceb260f1be6.tar.gz
android_external_sepolicy-f90c41f6e8d5c1266e154f46586a2ceb260f1be6.tar.bz2
android_external_sepolicy-f90c41f6e8d5c1266e154f46586a2ceb260f1be6.zip
Add SELinux rules for service_manager.
Add a service_mananger class with the verb add. Add a type that groups the services for each of the processes that is allowed to start services in service.te and an attribute for all services controlled by the service manager. Add the service_contexts file which maps service name to target label. Bug: 12909011 Change-Id: I017032a50bc90c57b536e80b972118016d340c7d
Diffstat (limited to 'radio.te')
-rw-r--r--radio.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/radio.te b/radio.te
index d5bf42b..4f1df1f 100644
--- a/radio.te
+++ b/radio.te
@@ -22,3 +22,5 @@ allow radio radio_prop:property_service set;
# ctl interface
allow radio ctl_rildaemon_prop:property_service set;
+
+allow radio radio_service:service_manager add;