Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Add imms service and system_app_service type.
Browse files Browse the repository at this point in the history
Map imms to system_app_service in service_contexts and add
the system_app_service type and allow system_app to add the
system_app_service.

Bug: 16005467
Change-Id: I06ca75e2602f083297ed44960767df2e78991140
  • Loading branch information
Riley Spahn committed Jul 1, 2014
1 parent 166c09e commit b1ec3df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions service.te
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 1 addition & 0 deletions service_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions system_app.te
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1ec3df

Please sign in to comment.