From 1c724d046d4f618a8ccefbbe36a13a7ae7f84d68 Mon Sep 17 00:00:00 2001 From: Tim Zimmermann Date: Thu, 14 Mar 2024 06:45:29 +0100 Subject: [PATCH] common: Add policy for sehradiomanager Change-Id: Iee652c13477e4ee0f6347bc473f82ed43de393b2 --- common/vendor/file_contexts | 1 + common/vendor/sehradiomanager.te | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 common/vendor/sehradiomanager.te diff --git a/common/vendor/file_contexts b/common/vendor/file_contexts index 2ded296..d0a28d1 100644 --- a/common/vendor/file_contexts +++ b/common/vendor/file_contexts @@ -137,6 +137,7 @@ /(vendor|system/vendor)/bin/hw/gpsd u:object_r:gpsd_exec:s0 /(vendor|system/vendor)/bin/hw/lhd u:object_r:lhd_exec:s0 /(vendor|system/vendor)/bin/hw/macloader u:object_r:macloader_exec:s0 +/(vendor|system/vendor)/bin/hw/sehradiomanager u:object_r:sehradiomanager_exec:s0 /(vendor|system/vendor)/lib(64)?/hw/gralloc\.exynos[0-9]*\.so u:object_r:same_process_hal_file:s0 /(vendor|system/vendor)/lib(64)?/hw/vulkan\.mali\.so u:object_r:same_process_hal_file:s0 diff --git a/common/vendor/sehradiomanager.te b/common/vendor/sehradiomanager.te new file mode 100644 index 0000000..e856ecf --- /dev/null +++ b/common/vendor/sehradiomanager.te @@ -0,0 +1,9 @@ +type sehradiomanager, domain; +type sehradiomanager_exec, exec_type, file_type, vendor_file_type; + +init_daemon_domain(sehradiomanager) + +get_prop(sehradiomanager, vendor_radio_prop) +get_prop(sehradiomanager, hwservicemanager_prop) +binder_call(sehradiomanager, hwservicemanager) +hal_client_domain(sehradiomanager, hal_telephony) -- 2.20.1