Skip to content
Snippets Groups Projects
Commit 91b7c67d authored by dcashman's avatar dcashman
Browse files

Enforce more specific service access.

Move the following services from tmp_system_server_service to appropriate
attributes:

jobscheduler
launcherapps
location
lock_settings
media_projection
media_router
media_session
mount
netpolicy
netstats

Bug: 18106000
Change-Id: Ia82d475ec41f658851f945173c968f4abf57e7e1
parent 3cc6fc5f
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,6 @@ allow bluetooth system_api_service:service_manager find; ...@@ -60,7 +60,6 @@ allow bluetooth system_api_service:service_manager find;
service_manager_local_audit_domain(bluetooth) service_manager_local_audit_domain(bluetooth)
auditallow bluetooth { auditallow bluetooth {
tmp_system_server_service tmp_system_server_service
-media_session_service
-network_management_service -network_management_service
-power_service -power_service
-registry_service -registry_service
......
...@@ -39,13 +39,6 @@ allow platform_app system_api_service:service_manager find; ...@@ -39,13 +39,6 @@ allow platform_app system_api_service:service_manager find;
service_manager_local_audit_domain(platform_app) service_manager_local_audit_domain(platform_app)
auditallow platform_app { auditallow platform_app {
tmp_system_server_service tmp_system_server_service
-lock_settings_service
-media_projection_service
-media_router_service
-media_session_service
-mount_service
-netpolicy_service
-netstats_service
-network_management_service -network_management_service
-notification_service -notification_service
-power_service -power_service
......
...@@ -41,7 +41,6 @@ allow radio system_api_service:service_manager find; ...@@ -41,7 +41,6 @@ allow radio system_api_service:service_manager find;
service_manager_local_audit_domain(radio) service_manager_local_audit_domain(radio)
auditallow radio { auditallow radio {
tmp_system_server_service tmp_system_server_service
-netstats_service
-network_management_service -network_management_service
-notification_service -notification_service
-power_service -power_service
......
...@@ -50,18 +50,18 @@ type hdmi_control_service, system_api_service, system_server_service, service_ma ...@@ -50,18 +50,18 @@ type hdmi_control_service, system_api_service, system_server_service, service_ma
type input_method_service, app_api_service, system_server_service, service_manager_type; type input_method_service, app_api_service, system_server_service, service_manager_type;
type input_service, app_api_service, system_server_service, service_manager_type; type input_service, app_api_service, system_server_service, service_manager_type;
type imms_service, app_api_service, system_server_service, service_manager_type; type imms_service, app_api_service, system_server_service, service_manager_type;
type jobscheduler_service, tmp_system_server_service, service_manager_type; type jobscheduler_service, app_api_service, system_server_service, service_manager_type;
type launcherapps_service, tmp_system_server_service, service_manager_type; type launcherapps_service, app_api_service, system_server_service, service_manager_type;
type location_service, tmp_system_server_service, service_manager_type; type location_service, app_api_service, system_server_service, service_manager_type;
type lock_settings_service, tmp_system_server_service, service_manager_type; type lock_settings_service, system_api_service, system_server_service, service_manager_type;
type media_projection_service, tmp_system_server_service, service_manager_type; type media_projection_service, app_api_service, system_server_service, service_manager_type;
type media_router_service, tmp_system_server_service, service_manager_type; type media_router_service, app_api_service, system_server_service, service_manager_type;
type media_session_service, tmp_system_server_service, service_manager_type; type media_session_service, app_api_service, system_server_service, service_manager_type;
type meminfo_service, system_api_service, system_server_service, service_manager_type; type meminfo_service, system_api_service, system_server_service, service_manager_type;
type midi_service, app_api_service, system_server_service, service_manager_type; type midi_service, app_api_service, system_server_service, service_manager_type;
type mount_service, tmp_system_server_service, service_manager_type; type mount_service, app_api_service, system_server_service, service_manager_type;
type netpolicy_service, tmp_system_server_service, service_manager_type; type netpolicy_service, app_api_service, system_server_service, service_manager_type;
type netstats_service, tmp_system_server_service, service_manager_type; type netstats_service, system_api_service, system_server_service, service_manager_type;
type network_management_service, tmp_system_server_service, service_manager_type; type network_management_service, tmp_system_server_service, service_manager_type;
type network_score_service, tmp_system_server_service, service_manager_type; type network_score_service, tmp_system_server_service, service_manager_type;
type notification_service, tmp_system_server_service, service_manager_type; type notification_service, tmp_system_server_service, service_manager_type;
......
...@@ -60,10 +60,6 @@ allow system_app system_api_service:service_manager find; ...@@ -60,10 +60,6 @@ allow system_app system_api_service:service_manager find;
service_manager_local_audit_domain(system_app) service_manager_local_audit_domain(system_app)
auditallow system_app { auditallow system_app {
tmp_system_server_service tmp_system_server_service
-lock_settings_service
-media_session_service
-mount_service
-netstats_service
-network_management_service -network_management_service
-network_score_service -network_score_service
-notification_service -notification_service
......
...@@ -372,13 +372,6 @@ allow system_server tmp_system_server_service:service_manager { add find }; ...@@ -372,13 +372,6 @@ allow system_server tmp_system_server_service:service_manager { add find };
service_manager_local_audit_domain(system_server) service_manager_local_audit_domain(system_server)
auditallow system_server { auditallow system_server {
tmp_system_server_service tmp_system_server_service
-jobscheduler_service
-location_service
-lock_settings_service
-media_router_service
-media_session_service
-mount_service
-netpolicy_service
-network_management_service -network_management_service
-network_score_service -network_score_service
-notification_service -notification_service
......
...@@ -90,17 +90,6 @@ allow untrusted_app system_api_service:service_manager find; ...@@ -90,17 +90,6 @@ allow untrusted_app system_api_service:service_manager find;
service_manager_local_audit_domain(untrusted_app) service_manager_local_audit_domain(untrusted_app)
auditallow untrusted_app { auditallow untrusted_app {
tmp_system_server_service tmp_system_server_service
-healthd_service
-jobscheduler_service
-launcherapps_service
-location_service
-lock_settings_service
-media_router_service
-media_session_service
-meminfo_service
-mount_service
-netpolicy_service
-netstats_service
-network_management_service -network_management_service
-network_score_service -network_score_service
-notification_service -notification_service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment