Add servicemanager's service to microdroid policy
Bug: 193118220 Test: atest MicrodroidHostTestCases Change-Id: I0e57fa913fe857626634f94502b1ad5a0989bdc8
This commit is contained in:
parent
0abc4fdf2b
commit
2f4b03654a
3 changed files with 4 additions and 0 deletions
|
@ -15,4 +15,5 @@ android.security.maintenance u:object_r:keystore_maintenance_servic
|
||||||
android.security.metrics u:object_r:keystore_metrics_service:s0
|
android.security.metrics u:object_r:keystore_metrics_service:s0
|
||||||
android.security.remoteprovisioning u:object_r:remoteprovisioning_service:s0
|
android.security.remoteprovisioning u:object_r:remoteprovisioning_service:s0
|
||||||
apexservice u:object_r:apex_service:s0
|
apexservice u:object_r:apex_service:s0
|
||||||
|
manager u:object_r:service_manager_service:s0
|
||||||
* u:object_r:default_android_service:s0
|
* u:object_r:default_android_service:s0
|
||||||
|
|
|
@ -21,3 +21,5 @@ allow servicemanager {
|
||||||
allow servicemanager service_contexts_file:file r_file_perms;
|
allow servicemanager service_contexts_file:file r_file_perms;
|
||||||
|
|
||||||
allow servicemanager vendor_service_contexts_file:file r_file_perms;
|
allow servicemanager vendor_service_contexts_file:file r_file_perms;
|
||||||
|
|
||||||
|
add_service(servicemanager, service_manager_service)
|
||||||
|
|
|
@ -19,5 +19,6 @@ type keystore_metrics_service, service_manager_type;
|
||||||
type keystore_service, service_manager_type;
|
type keystore_service, service_manager_type;
|
||||||
type legacykeystore_service, service_manager_type;
|
type legacykeystore_service, service_manager_type;
|
||||||
type remoteprovisioning_service, service_manager_type;
|
type remoteprovisioning_service, service_manager_type;
|
||||||
|
type service_manager_service, service_manager_type;
|
||||||
type system_linker;
|
type system_linker;
|
||||||
type vm_payload_key;
|
type vm_payload_key;
|
||||||
|
|
Loading…
Reference in a new issue