diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2019-03-02 13:23:14 +0100 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-03-02 13:56:05 +0100 |
commit | 95f4617bec43046ca6d418b606175978eea22be2 (patch) | |
tree | b9706466e41c6c85131d25696b7f7abf74c763ab /sepolicy/qti_init_shell.te | |
parent | 56a0d4e8bca5cb53407e9d615ed5566e87f34c2b (diff) |
msm8996-common: Set the hardware wlan mac using wcg_mac_tool
* Bin extracted from ZUI
* Add init.wlan.sh to check if the mac address in wlan_mac.bin is already correct, if not correct it
* Run both the bins on boot completed as wcg can't run earlier
* Label both the bins and address their denials
Change-Id: I7a8001465ec9c3d69bd228efa57dddfdd8e3c6f3
Diffstat (limited to 'sepolicy/qti_init_shell.te')
-rw-r--r-- | sepolicy/qti_init_shell.te | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sepolicy/qti_init_shell.te b/sepolicy/qti_init_shell.te index 1841019..64ab2bc 100644 --- a/sepolicy/qti_init_shell.te +++ b/sepolicy/qti_init_shell.te @@ -3,3 +3,9 @@ allow qti_init_shell vendor_radio_data_file:dir { getattr open read search setat allow qti_init_shell vfat:file { getattr open read setattr }; allow qti_init_shell vfat:dir { open read search }; allow qti_init_shell file_contexts_file:file { getattr open read }; + +# Allow qti_init_shell to fully access wlan_mac.bin persist file +allow qti_init_shell mnt_vendor_file:dir rw_dir_perms; +allow qti_init_shell mnt_vendor_file:file create_file_perms; + +get_prop(qti_init_shell, wcg_prop) |