From 07131ec803af9beb13ad0e3589a02938cc0c3b21 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Mon, 4 Dec 2017 14:41:54 -0500 Subject: [PATCH] Add selinux for slice service Test: make/sync Bug: 68751119 Change-Id: Ie3c60ff68b563cef07f20d15f298d6b62e9356bc --- private/compat/26.0/26.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/26.0/26.0.ignore.cil b/private/compat/26.0/26.0.ignore.cil index 4bcdf1682..d51098ca2 100644 --- a/private/compat/26.0/26.0.ignore.cil +++ b/private/compat/26.0/26.0.ignore.cil @@ -23,6 +23,7 @@ netd_stable_secret_prop network_watchlist_service package_native_service + slice_service statscompanion_service storaged_data_file sysfs_fs_ext4_features diff --git a/private/service_contexts b/private/service_contexts index bc7e3e003..6451ffced 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -141,6 +141,7 @@ simphonebook_msim u:object_r:radio_service:s0 simphonebook2 u:object_r:radio_service:s0 simphonebook u:object_r:radio_service:s0 sip u:object_r:radio_service:s0 +slice u:object_r:slice_service:s0 statscompanion u:object_r:statscompanion_service:s0 soundtrigger u:object_r:voiceinteraction_service:s0 statusbar u:object_r:statusbar_service:s0 diff --git a/public/service.te b/public/service.te index 1da93ae38..6dec274a0 100644 --- a/public/service.te +++ b/public/service.te @@ -127,6 +127,7 @@ type serial_service, system_api_service, system_server_service, service_manager_ type servicediscovery_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type settings_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type shortcut_service, app_api_service, system_server_service, service_manager_type; +type slice_service, app_api_service, system_server_service, service_manager_type; type statusbar_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type storagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type task_service, system_server_service, service_manager_type;