From 7d7951bcbdc5141738be61171c75450813f76b38 Mon Sep 17 00:00:00 2001 From: Yi Jiang Date: Thu, 21 Jan 2021 16:55:42 -0800 Subject: [PATCH] Add a new selinux policy for the resolver service Bug: 178151184 Test: manual Change-Id: Ia44c50d24b3b5403b02ccc1b7873c7024b10e023 --- private/compat/30.0/30.0.ignore.cil | 1 + private/service.te | 1 + private/service_contexts | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/30.0/30.0.ignore.cil b/private/compat/30.0/30.0.ignore.cil index 686855442..90f20c758 100644 --- a/private/compat/30.0/30.0.ignore.cil +++ b/private/compat/30.0/30.0.ignore.cil @@ -66,6 +66,7 @@ profcollectd_service radio_core_data_file reboot_readiness_service + resolver_service search_ui_service shell_test_data_file smartspace_service diff --git a/private/service.te b/private/service.te index f17fe869e..821b740d2 100644 --- a/private/service.te +++ b/private/service.te @@ -4,6 +4,7 @@ type gsi_service, service_manager_type; type incidentcompanion_service, system_api_service, system_server_service, service_manager_type; type mediatuner_service, app_api_service, service_manager_type; type profcollectd_service, service_manager_type; +type resolver_service, system_server_service, service_manager_type; type stats_service, service_manager_type; type statscompanion_service, system_server_service, service_manager_type; type statsmanager_service, system_api_service, system_server_service, service_manager_type; diff --git a/private/service_contexts b/private/service_contexts index 96384e2d3..b61f6df27 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -202,6 +202,7 @@ radio.sms u:object_r:radio_service:s0 rcs u:object_r:radio_service:s0 reboot_readiness u:object_r:reboot_readiness_service:s0 recovery u:object_r:recovery_service:s0 +resolver u:object_r:resolver_service:s0 restrictions u:object_r:restrictions_service:s0 role u:object_r:role_service:s0 rollback u:object_r:rollback_service:s0