diff --git a/service.te b/service.te index c085c79a6cb90e6b090a906c908feec1b4599e34..ca461f170010d747ef2a0d40c2705ad5bb5f33b0 100644 --- a/service.te +++ b/service.te @@ -8,4 +8,5 @@ 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_app_service, service_manager_type; type system_server_service, service_manager_type; diff --git a/service_contexts b/service_contexts index 843d6acf72ab9acfd8d23de7ab43d03bc83b1042..0f4212b5630d627cf984ece643c3755edfcf9e7d 100644 --- a/service_contexts +++ b/service_contexts @@ -46,6 +46,7 @@ iphonesubinfo_msim u:object_r:radio_service:s0 iphonesubinfo2 u:object_r:radio_service:s0 iphonesubinfo u:object_r:radio_service:s0 ims u:object_r:radio_service:s0 +imms u:object_r:system_app_service:s0 isms_msim u:object_r:radio_service:s0 isms2 u:object_r:radio_service:s0 isms u:object_r:radio_service:s0 diff --git a/system_app.te b/system_app.te index 324d74ee69e68be9b39174f4b7603f7b6267cd68..bada9051b42a76a3bb79f753c2b871bf93031a5e 100644 --- a/system_app.te +++ b/system_app.te @@ -42,6 +42,8 @@ allow system_app logd_prop:property_service set; allow system_app anr_data_file:dir ra_dir_perms; allow system_app anr_data_file:file create_file_perms; +allow system_app system_app_service:service_manager add; + allow system_app keystore:keystore_key { test get