From 645630344bd46416df9cd11bf1863f50e7065dbd Mon Sep 17 00:00:00 2001 From: Michael Benedict Date: Sun, 6 Mar 2022 23:20:21 +0700 Subject: [PATCH] common: Allow secril_config_svc to set radio_prop * setting props such as dsds Change-Id: I19e698ffe68805e88d234343b717a230fdbad967 --- common/vendor/secril_config_svc.te | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/vendor/secril_config_svc.te b/common/vendor/secril_config_svc.te index 3b83705..0c42912 100644 --- a/common/vendor/secril_config_svc.te +++ b/common/vendor/secril_config_svc.te @@ -1,11 +1,13 @@ # secril_config_svc.te -type secril_config_svc, domain; +type secril_config_svc, domain, halserverdomain, hal_telephony, hal_telephony_server; type secril_config_svc_exec, exec_type, vendor_file_type, file_type; # secril_config_svc is started by init, type transit from init domain to secril_config_svc domain init_daemon_domain(secril_config_svc) +unix_socket_connect(secril_config_svc, property, init) + # /mnt/vendor/ allow secril_config_svc mnt_vendor_file:dir search; @@ -17,4 +19,6 @@ allow secril_config_svc efs_file:file r_file_perms; # ro.multisim. # ro.vendor.multisim. # ro.vendor.radio.default_network +get_prop(secril_config_svc, exported_system_prop) +set_prop(secril_config_svc, radio_prop) set_prop(secril_config_svc, vendor_radio_prop) -- 2.20.1