Merge "Ensure that service_manager adds / finds make sense." am: c2be630c3a
am: 2c9fca3127
Change-Id: I6bbd357754c487873bea427fe113452f764c7098
This commit is contained in:
commit
f8f835fed8
1 changed files with 9 additions and 0 deletions
|
@ -180,3 +180,12 @@ type wifiaware_service, app_api_service, system_server_service, service_manager_
|
|||
type window_service, system_api_service, system_server_service, service_manager_type;
|
||||
type inputflinger_service, system_api_service, system_server_service, service_manager_type;
|
||||
type wpantund_service, system_api_service, service_manager_type;
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
||||
# servicemanager handles registering or looking up named services.
|
||||
# It does not make sense to register or lookup something which is not a service.
|
||||
# Trigger a compile error if this occurs.
|
||||
neverallow domain ~{ service_manager_type vndservice_manager_type }:service_manager { add find };
|
||||
|
|
Loading…
Reference in a new issue