f90c41f6e8
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
12 lines
319 B
Text
12 lines
319 B
Text
# inputflinger
|
|
type inputflinger, domain;
|
|
permissive_or_unconfined(inputflinger)
|
|
type inputflinger_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(inputflinger)
|
|
binder_use(inputflinger)
|
|
binder_service(inputflinger)
|
|
|
|
binder_call(inputflinger, system_server)
|
|
|
|
allow inputflinger inputflinger_service:service_manager add;
|