diff --git a/non_plat/mtkrild.te b/non_plat/mtkrild.te index a134520..dda5f2f 100644 --- a/non_plat/mtkrild.te +++ b/non_plat/mtkrild.te @@ -130,3 +130,8 @@ allow mtkrild nvdata_file:file create_file_perms; # Operation: P migration # Purpose: Allow supplementary service HIDL to set vendor property set_prop(mtkrild, mtk_ss_vendor_prop) + +# Date : WK19.43 +# Purpose: Allow wfc module from rild read system property from wfc module +get_prop(mtkrild, mtk_wfc_serv_prop) + diff --git a/non_plat/property.te b/non_plat/property.te index 3ac67c0..3e4388e 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -323,3 +323,7 @@ type mtk_hdmi_prop, property_type, mtk_core_property_type; #=============mtk nn option property============= type mtk_nn_option_prop, property_type; + +#============system wfc service property=========== +type mtk_wfc_serv_prop, property_type; + diff --git a/non_plat/property_contexts b/non_plat/property_contexts index 4f394e8..42c63f8 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -364,3 +364,6 @@ persist.vendor.sys.hdmi_hidl. u:object_r:mtk_hdmi_prop:s0 #=============mtk nn option==============# ro.vendor.mtk_nn.option u:object_r:mtk_nn_option_prop:s0 +#============system wfc service property=========== +persist.vendor.wfc. u:object_r:mtk_wfc_serv_prop:s0 + diff --git a/non_plat/rild.te b/non_plat/rild.te index 67cf3eb..e904c2b 100644 --- a/non_plat/rild.te +++ b/non_plat/rild.te @@ -157,4 +157,9 @@ allow rild self:netlink_netfilter_socket { create_socket_perms_no_ioctl }; # Date : 2019/08/29 # Purpose: Allow rild to access proc/aed/reboot-reason -allow rild proc_aed_reboot_reason:file rw_file_perms; \ No newline at end of file +allow rild proc_aed_reboot_reason:file rw_file_perms; + +# Date : WK19.43 +# Purpose: Allow wfc module from rild read system property from wfc module +get_prop(rild, mtk_wfc_serv_prop) +