From 64ef8be1dec61f8e38df1321f7fc979b5eb24872 Mon Sep 17 00:00:00 2001 From: Neha Pattan Date: Mon, 28 Mar 2022 19:26:50 +0000 Subject: [PATCH] Sepolicy changes for adding new system service for AdServices. Test: build Bug: 216375107 Change-Id: I238ac3f8966ce05768aef17bd05217a9772cf2f3 --- private/compat/32.0/32.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/32.0/32.0.ignore.cil b/private/compat/32.0/32.0.ignore.cil index 3547ebb33..56937b2e4 100644 --- a/private/compat/32.0/32.0.ignore.cil +++ b/private/compat/32.0/32.0.ignore.cil @@ -5,6 +5,7 @@ (typeattribute new_objects) (typeattributeset new_objects ( new_objects + adservices_manager_service apexd_select_prop artd_service attestation_verification_service diff --git a/private/service_contexts b/private/service_contexts index cac6ea822..6a80cfb4b 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -75,6 +75,7 @@ account u:object_r:account_service:s0 activity u:object_r:activity_service:s0 activity_task u:object_r:activity_task_service:s0 adb u:object_r:adb_service:s0 +adservices_manager u:object_r:adservices_manager_service:s0 aidl_lazy_test_1 u:object_r:aidl_lazy_test_service:s0 aidl_lazy_test_2 u:object_r:aidl_lazy_test_service:s0 aidl_lazy_cb_test u:object_r:aidl_lazy_test_service:s0 diff --git a/public/service.te b/public/service.te index 458318602..a2b4129df 100644 --- a/public/service.te +++ b/public/service.te @@ -61,6 +61,7 @@ type account_service, app_api_service, ephemeral_app_api_service, system_server_ type activity_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type activity_task_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type adb_service, system_api_service, system_server_service, service_manager_type; +type adservices_manager_service, system_api_service, system_server_service, service_manager_type; type alarm_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type app_binding_service, system_server_service, service_manager_type; type app_hibernation_service, app_api_service, system_api_service, system_server_service, service_manager_type;