aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/qti_init_shell.te
blob: c5b83873f6ab6eab0ad027fffa3c0df77f199756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
allow qti_init_shell vendor_radio_data_file:dir { getattr open read search setattr };
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;

# Allow qti_init_shell to read cmdline
allow qti_init_shell proc_cmdline:file { getattr open read };

get_prop(qti_init_shell, wcg_prop)
set_prop(qti_init_shell, oem_unlock_prop)