diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2019-05-17 19:16:39 +0200 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-05-17 20:14:39 +0200 |
commit | 3a18052032c0b99e919ebbacad963d21d4e76542 (patch) | |
tree | fcf44da3f52fb45053fc54ca626aefbdccae2be3 /sepolicy | |
parent | 91ed41211d2977c5af1f2c3116f01d2fd46a709c (diff) |
msm8996-common: Update mac addresses paths
* Switch to /persist for bt_mac to make so that it's kept even after a factory reset
* Also update the path of wlan_mac.bin in wlan.sh to write to the real mount point instead of the bind one
Change-Id: I250358484a8c8a8ef7f01941eea798c11d6ac4e7
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/qti_init_shell.te | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sepolicy/qti_init_shell.te b/sepolicy/qti_init_shell.te index dbdc893..56c35ba 100644 --- a/sepolicy/qti_init_shell.te +++ b/sepolicy/qti_init_shell.te @@ -5,9 +5,9 @@ allow qti_init_shell file_contexts_file:file { getattr open read }; allow qti_init_shell mnt_vendor_file:dir rw_dir_perms; allow qti_init_shell mnt_vendor_file:file create_file_perms; -# Allow qti_init_shell to write and read /data/vendor/bluetooth/bdaddr -allow qti_init_shell vendor_bt_data_file:dir { add_name create search write }; -allow qti_init_shell vendor_bt_data_file:file { create getattr open read write }; +# Allow qti_init_shell to write and read /mnt/vendor/persist/bluetooth/bt_mac +allow qti_init_shell persist_bluetooth_file:dir { add_name create search write }; +allow qti_init_shell persist_bluetooth_file:file { create getattr open read write }; # Allow qti_init_shell to read cmdline allow qti_init_shell proc_cmdline:file { getattr open read }; |