From d2309dafcb39181ff1b9de47e7a3117d60040733 Mon Sep 17 00:00:00 2001 From: Ilya Matyukhin Date: Thu, 14 Nov 2019 15:32:24 -0800 Subject: [PATCH] Add AuthService to sepolicy AuthService is introduced in ag/9700446. Bug: 141025588 Test: can successfully publish AuthService with publishBinderService(...) Change-Id: I0f9fceac0c555d05a29467e4ab1380f389b60af4 --- private/compat/29.0/29.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/29.0/29.0.ignore.cil b/private/compat/29.0/29.0.ignore.cil index 83c76cbcf..951aaaa93 100644 --- a/private/compat/29.0/29.0.ignore.cil +++ b/private/compat/29.0/29.0.ignore.cil @@ -5,6 +5,7 @@ (typeattribute new_objects) (typeattributeset new_objects ( new_objects + auth_service ashmem_libcutils_device blob_store_service boringssl_self_test diff --git a/private/service_contexts b/private/service_contexts index b7cd10fb2..aeafc1a0c 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -19,6 +19,7 @@ appwidget u:object_r:appwidget_service:s0 assetatlas u:object_r:assetatlas_service:s0 attention u:object_r:attention_service:s0 audio u:object_r:audio_service:s0 +auth u:object_r:auth_service:s0 autofill u:object_r:autofill_service:s0 backup u:object_r:backup_service:s0 batteryproperties u:object_r:batteryproperties_service:s0 diff --git a/public/service.te b/public/service.te index aace21426..d72265e3a 100644 --- a/public/service.te +++ b/public/service.te @@ -49,6 +49,7 @@ type appops_service, app_api_service, ephemeral_app_api_service, system_server_s type appwidget_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type assetatlas_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type audio_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; +type auth_service, app_api_service, system_server_service, service_manager_type; type autofill_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type backup_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type batterystats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;