From: Michael Benedict Date: Sun, 6 Mar 2022 16:20:21 +0000 (+0700) Subject: common: Allow secril_config_svc to set radio_prop X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=645630344bd46416df9cd11bf1863f50e7065dbd;p=GitHub%2FLineageOS%2Fandroid_device_samsung_slsi_sepolicy.git common: Allow secril_config_svc to set radio_prop * setting props such as dsds Change-Id: I19e698ffe68805e88d234343b717a230fdbad967 --- 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)