From afb2839d6ec1fbffe77aa9b37a17c3f3a90411a2 Mon Sep 17 00:00:00 2001 From: Rohan Narayanan Date: Tue, 3 Dec 2024 17:52:20 -0800 Subject: [PATCH] Add hal_shared_modem_platform to modem_diagnostic_app.te This is needed to access the modem platform HAL. FLAG: EXEMPT HAL interface change Test: manual testing of selinux Bug: 351024952 Change-Id: I95fc6b997e08ae46089ed90a1060c23274f6cd58 --- radio/modem_diagnostic_app.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/modem_diagnostic_app.te b/radio/modem_diagnostic_app.te index 60835a5..fb0bfea 100644 --- a/radio/modem_diagnostic_app.te +++ b/radio/modem_diagnostic_app.te @@ -1,3 +1,4 @@ +# Selinux rule for ModemDiagnosticService (MDS) app type modem_diagnostic_app, domain; app_domain(modem_diagnostic_app) @@ -10,6 +11,7 @@ userdebug_or_eng(` allow modem_diagnostic_app sysfs_modem_state:file r_file_perms; hal_client_domain(modem_diagnostic_app, hal_power_stats); + hal_client_domain(modem_diagnostic_app, hal_shared_modem_platform); allow modem_diagnostic_app hal_vendor_radio_external_service:service_manager find; allow modem_diagnostic_app hal_exynos_rild_hwservice:hwservice_manager find;