aboutsummaryrefslogtreecommitdiffstats
path: root/service.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 /service.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 'service.te')
-rw-r--r--service.te10
1 files changed, 10 insertions, 0 deletions
diff --git a/service.te b/service.te
new file mode 100644
index 0000000..650ac13
--- /dev/null
+++ b/service.te
@@ -0,0 +1,10 @@
+type default_android_service, service_manager_type;
+type drmserver_service, service_manager_type;
+type healthd_service, service_manager_type;
+type inputflinger_service, service_manager_type;
+type keystore_service, service_manager_type;
+type mediaserver_service, service_manager_type;
+type nfc_service, service_manager_type;
+type radio_service, service_manager_type;
+type surfaceflinger_service, service_manager_type;
+type system_server_service, service_manager_type;