Merge "[ALPS04331131] Wlan: wlan_assistant selinux" into alps-trunk-q0.basic

Change-Id: I8c0759fbaadc5a70e54a45d2696289bdfdc5a4b0
MTK-Commit-Id: 59fe152577a10dfb8887f36af0f010142e28b319
This commit is contained in:
Facer Pei 2020-01-18 10:14:48 +08:00 committed by Gerrit Code Review
commit aeefff0ff1
3 changed files with 12 additions and 0 deletions

View File

@ -310,3 +310,7 @@ type mtk_bt_sap_enable_prop, property_type, mtk_core_property_type;
#=============MTK powerhal property================
type mtk_powerhal_prop, property_type;
#=============MTK Wifi wlan_assistant property=============
type mtk_nvram_ready_prop, property_type, mtk_core_property_type;

View File

@ -344,3 +344,7 @@ ro.lmk.swap_free_low_percentage u:object_r:exported3_default_prop:s0 exact int
#=============allow processes to change powerhal config================
persist.vendor.powerhal. u:object_r:mtk_powerhal_prop:s0
vendor.powerhal. u:object_r:mtk_powerhal_prop:s0
#=============MTK Wifi wlan_assistant property=============
vendor.mtk.nvram.ready u:object_r:mtk_nvram_ready_prop:s0

View File

@ -42,3 +42,7 @@ allow wlan_assistant vendor_data_file:dir { search read getattr open };
allow wlan_assistant vendor_data_file:file { read getattr open };
allow wlan_assistant mnt_vendor_file :dir search;
allow wlan_assistant init:unix_stream_socket connectto;
allow wlan_assistant property_socket:sock_file write;
set_prop(wlan_assistant, mtk_nvram_ready_prop)