common: Allow secril_config_svc to set radio_prop
authorMichael Benedict <michaelbt@live.com>
Sun, 6 Mar 2022 16:20:21 +0000 (23:20 +0700)
committerMichael Benedict <michaelbt@live.com>
Sun, 6 Mar 2022 16:24:04 +0000 (23:24 +0700)
* setting props such as dsds

Change-Id: I19e698ffe68805e88d234343b717a230fdbad967

common/vendor/secril_config_svc.te

index 3b83705c47bc3c3c0871695610d5029475868d28..0c42912e91b0cd515bff1501aa16811d0cfe1bb9 100644 (file)
@@ -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)