From f58b555de3dd799d69dcbd14107c63a2f0c60ab3 Mon Sep 17 00:00:00 2001 From: Neil Fuller <nfuller@google.com> Date: Tue, 20 Nov 2018 19:41:15 +0000 Subject: [PATCH] Track add of RuntimeService in system server Adds the necessary incantations for the new service. Bug: 118242715 Bug: 119026403 Test: build / boot / adb shell dumpsys Change-Id: Ibb1a356067863316d70586a61ede9f5973c1ae15 --- private/compat/26.0/26.0.ignore.cil | 1 + private/compat/27.0/27.0.ignore.cil | 1 + private/compat/28.0/28.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 5 files changed, 5 insertions(+) diff --git a/private/compat/26.0/26.0.ignore.cil b/private/compat/26.0/26.0.ignore.cil index 5ba2adfae..d3a6982f7 100644 --- a/private/compat/26.0/26.0.ignore.cil +++ b/private/compat/26.0/26.0.ignore.cil @@ -133,6 +133,7 @@ property_info recovery_socket role_service + runtime_service secure_element secure_element_device secure_element_tmpfs diff --git a/private/compat/27.0/27.0.ignore.cil b/private/compat/27.0/27.0.ignore.cil index 38d7d0334..764a9ea7b 100644 --- a/private/compat/27.0/27.0.ignore.cil +++ b/private/compat/27.0/27.0.ignore.cil @@ -120,6 +120,7 @@ property_info recovery_socket role_service + runtime_service secure_element secure_element_device secure_element_service diff --git a/private/compat/28.0/28.0.ignore.cil b/private/compat/28.0/28.0.ignore.cil index fa7cd5874..f9f4ebfcc 100644 --- a/private/compat/28.0/28.0.ignore.cil +++ b/private/compat/28.0/28.0.ignore.cil @@ -60,6 +60,7 @@ overlayfs_file recovery_socket role_service + runtime_service super_block_device system_lmk_prop system_suspend_hwservice diff --git a/private/service_contexts b/private/service_contexts index 0089f6f5c..7f1b38f41 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -145,6 +145,7 @@ recovery u:object_r:recovery_service:s0 restrictions u:object_r:restrictions_service:s0 role u:object_r:role_service:s0 rttmanager u:object_r:rttmanager_service:s0 +runtime u:object_r:runtime_service:s0 samplingprofiler u:object_r:samplingprofiler_service:s0 scheduling_policy u:object_r:scheduling_policy_service:s0 search u:object_r:search_service:s0 diff --git a/public/service.te b/public/service.te index 55f8d759e..ce87ba9ff 100644 --- a/public/service.te +++ b/public/service.te @@ -133,6 +133,7 @@ type recovery_service, system_server_service, service_manager_type; type registry_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type restrictions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type role_service, app_api_service, system_server_service, service_manager_type; +type runtime_service, system_server_service, service_manager_type; type rttmanager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type samplingprofiler_service, system_server_service, service_manager_type; type scheduling_policy_service, system_server_service, service_manager_type; -- GitLab