From 62f34d8794f403d9f2a87bf92c7a984ad591df1e Mon Sep 17 00:00:00 2001 From: "Liana Kazanova (xWF)" Date: Thu, 21 Nov 2024 17:53:56 +0000 Subject: [PATCH] Revert "modem_svc: move shared_modem_platform related sepolicy t..." Revert submission 30519089-move_modem_sepolicy Reason for revert: DroidMonitor: Potential culprit for http://b/380274930 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Reverted changes: /q/submissionid:30519089-move_modem_sepolicy Change-Id: I74d37465d49e31c84d5e51bb0f020988a41b66ab --- radio/file_contexts | 1 + radio/modem_svc_sit.te | 3 +++ zumapro-sepolicy.mk | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/radio/file_contexts b/radio/file_contexts index 34e7e8b..42086a3 100644 --- a/radio/file_contexts +++ b/radio/file_contexts @@ -10,6 +10,7 @@ /vendor/bin/cbd u:object_r:cbd_exec:s0 /vendor/bin/hw/rild_exynos u:object_r:rild_exec:s0 /vendor/bin/liboemservice_proxy_default u:object_r:liboemservice_proxy_default_exec:s0 +/vendor/bin/shared_modem_platform u:object_r:modem_svc_sit_exec:s0 /vendor/bin/copy_efs_files_to_data u:object_r:copy_efs_files_to_data_exec:s0 # Config files diff --git a/radio/modem_svc_sit.te b/radio/modem_svc_sit.te index a2fd70a..d23274c 100644 --- a/radio/modem_svc_sit.te +++ b/radio/modem_svc_sit.te @@ -38,6 +38,9 @@ get_prop(modem_svc_sit, vendor_logger_prop) allow modem_svc_sit hal_exynos_rild_hwservice:hwservice_manager find; get_prop(modem_svc_sit, hwservicemanager_prop) +# Modem SVC will register the default instance of the AIDL ISharedModemPlatform hal. +hal_server_domain(modem_svc_sit, hal_shared_modem_platform) + # Write trace data to the Perfetto traced daemon. This requires connecting to # its producer socket and obtaining a (per-process) tmpfs fd. perfetto_producer(modem_svc_sit) diff --git a/zumapro-sepolicy.mk b/zumapro-sepolicy.mk index 3112db3..4edddb2 100644 --- a/zumapro-sepolicy.mk +++ b/zumapro-sepolicy.mk @@ -1,6 +1,6 @@ # sepolicy that are shared among devices using zumapro BOARD_SEPOLICY_DIRS += device/google/zumapro-sepolicy/vendor -BOARD_VENDOR_SEPOLICY_DIRS += device/google/zumapro-sepolicy/radio +BOARD_SEPOLICY_DIRS += device/google/zumapro-sepolicy/radio PRODUCT_PRIVATE_SEPOLICY_DIRS += device/google/zumapro-sepolicy/radio/private # unresolved SELinux error log with bug tracking