Merge "Ensure that hwservice_manager adds / finds make sense." am: f21085ca29
am: 4aa9123f1b
am: 5688729fd5
Change-Id: I2e121886c46909e8148f65e5e4980af797733295
This commit is contained in:
commit
b515b9b498
1 changed files with 9 additions and 0 deletions
|
@ -67,3 +67,12 @@ type system_net_netd_hwservice, hwservice_manager_type, coredomain_hwservice;
|
|||
type system_suspend_hwservice, hwservice_manager_type, coredomain_hwservice;
|
||||
type system_wifi_keystore_hwservice, hwservice_manager_type, coredomain_hwservice;
|
||||
type thermalcallback_hwservice, hwservice_manager_type;
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
||||
# hwservicemanager handles registering or looking up named services.
|
||||
# It does not make sense to register or lookup something which is not a
|
||||
# hwservice. Trigger a compile error if this occurs.
|
||||
neverallow domain ~hwservice_manager_type:hwservice_manager { add find };
|
||||
|
|
Loading…
Reference in a new issue