From 7489e93613b6d8b9f744f85d43ce88f85092973b Mon Sep 17 00:00:00 2001 From: igorzas Date: Fri, 4 Aug 2023 17:36:11 +0000 Subject: [PATCH] Add RemoteAuthService Add SEPolicy for the RemoteAuth Manager/Service Add Fuzzer exception, remote_auth service is going to be in Java and Rust only Design doc: go/remote-auth-manager-fishfood-design Test: loaded on device. Bug: 290092977 Change-Id: I4decb29b863170aed5e7c85da9c4b50c0675d3bd --- build/soong/service_fuzzer_bindings.go | 1 + private/compat/34.0/34.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 4 files changed, 4 insertions(+) diff --git a/build/soong/service_fuzzer_bindings.go b/build/soong/service_fuzzer_bindings.go index 647ee0cc3..5e0aae1a9 100644 --- a/build/soong/service_fuzzer_bindings.go +++ b/build/soong/service_fuzzer_bindings.go @@ -372,6 +372,7 @@ var ( "rcs": EXCEPTION_NO_FUZZER, "reboot_readiness": EXCEPTION_NO_FUZZER, "recovery": EXCEPTION_NO_FUZZER, + "remote_auth": EXCEPTION_NO_FUZZER, "remote_provisioning": EXCEPTION_NO_FUZZER, "resolver": EXCEPTION_NO_FUZZER, "resources": EXCEPTION_NO_FUZZER, diff --git a/private/compat/34.0/34.0.ignore.cil b/private/compat/34.0/34.0.ignore.cil index 3154acdef..755860494 100644 --- a/private/compat/34.0/34.0.ignore.cil +++ b/private/compat/34.0/34.0.ignore.cil @@ -11,4 +11,5 @@ hal_threadnetwork_service virtual_camera_service ot_daemon_service + remote_auth_service )) diff --git a/private/service_contexts b/private/service_contexts index 4c8425849..c5d8082c9 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -347,6 +347,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 +remote_auth u:object_r:remote_auth_service:s0 remote_provisioning u:object_r:remote_provisioning_service:s0 resolver u:object_r:resolver_service:s0 resources u:object_r:resources_manager_service:s0 diff --git a/public/service.te b/public/service.te index 3228908fc..e2e9abc51 100644 --- a/public/service.te +++ b/public/service.te @@ -199,6 +199,7 @@ type procstats_service, app_api_service, ephemeral_app_api_service, system_serve type reboot_readiness_service, app_api_service, system_server_service, service_manager_type; 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 remote_auth_service, app_api_service, system_server_service, service_manager_type; type remote_provisioning_service, system_server_service, service_manager_type; type resources_manager_service, system_api_service, system_server_service, service_manager_type; type restrictions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;