From 3833f2f9d62c69cbc95053703b769c515d970b94 Mon Sep 17 00:00:00 2001 From: Priyanka Advani Date: Fri, 14 Jun 2024 17:46:44 +0000 Subject: [PATCH] Revert "Introducing vm_tethering_service as system_server_service" This reverts commit 70e6e885ae51673a7873835ca2f69a56586e088c. Reason for revert: Change-Id: I28064a2f38114d4e91356828576bfb3b9030b977 --- build/soong/service_fuzzer_bindings.go | 1 - private/service.te | 3 +-- private/service_contexts | 1 - private/virtualizationservice.te | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/build/soong/service_fuzzer_bindings.go b/build/soong/service_fuzzer_bindings.go index b7364bdf2..6ea767907 100644 --- a/build/soong/service_fuzzer_bindings.go +++ b/build/soong/service_fuzzer_bindings.go @@ -190,7 +190,6 @@ var ( "android.system.virtualizationservice_internal.IVfioHandler": EXCEPTION_NO_FUZZER, "android.system.virtualizationservice_internal.IVmnic": EXCEPTION_NO_FUZZER, "android.system.virtualizationmaintenance": EXCEPTION_NO_FUZZER, - "android.system.vmtethering.IVmTethering": EXCEPTION_NO_FUZZER, "ambient_context": EXCEPTION_NO_FUZZER, "app_binding": EXCEPTION_NO_FUZZER, "app_hibernation": EXCEPTION_NO_FUZZER, diff --git a/private/service.te b/private/service.te index 6c55ed4ad..1fb4d1d03 100644 --- a/private/service.te +++ b/private/service.te @@ -31,8 +31,7 @@ is_flag_enabled(RELEASE_AVF_ENABLE_LLPVM_CHANGES, ` type virtualization_maintenance_service, service_manager_type; ') is_flag_enabled(RELEASE_AVF_ENABLE_NETWORK, ` - type vm_tethering_service, system_server_service, service_manager_type; - type vmnic_service, service_manager_type; + type vmnic_service, service_manager_type; ') type uce_service, service_manager_type; diff --git a/private/service_contexts b/private/service_contexts index d1eecd5bf..c7917f121 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -172,7 +172,6 @@ is_flag_enabled(RELEASE_AVF_ENABLE_LLPVM_CHANGES, ` ') is_flag_enabled(RELEASE_AVF_ENABLE_NETWORK, ` android.system.virtualizationservice_internal.IVmnic u:object_r:vmnic_service:s0 - android.system.vmtethering.IVmTethering u:object_r:vm_tethering_service:s0 ') ambient_context u:object_r:ambient_context_service:s0 app_binding u:object_r:app_binding_service:s0 diff --git a/private/virtualizationservice.te b/private/virtualizationservice.te index b6ba55b96..3d0aac0ff 100644 --- a/private/virtualizationservice.te +++ b/private/virtualizationservice.te @@ -28,7 +28,6 @@ is_flag_enabled(RELEASE_AVF_ENABLE_NETWORK, ` # Let virtualizationservice find and communicate with vmnic. allow virtualizationservice vmnic_service:service_manager find; binder_call(virtualizationservice, vmnic) - allow virtualizationservice vm_tethering_service:service_manager find; ') # Allow the virtualizationservice domain to serve a remotely provisioned component for