From 3a18052032c0b99e919ebbacad963d21d4e76542 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Fri, 17 May 2019 19:16:39 +0200 Subject: 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 --- sepolicy/qti_init_shell.te | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sepolicy') 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 }; -- cgit v1.2.3