1 type init-qcom-wlan-sh, domain; 2 type init-qcom-wlan-sh_exec, exec_type, vendor_file_type, file_type; 3 4 init_daemon_domain(init-qcom-wlan-sh) 5 6 allow init-qcom-wlan-sh vendor_shell_exec:file rx_file_perms; 7 allow init-qcom-wlan-sh vendor_toolbox_exec:file rx_file_perms; 8 9 # Set the vendor.wlan.driver.version and vendor.wlan.firmware.version property 10 set_prop(init-qcom-wlan-sh, vendor_wifi_version) 11 12 # /sys/kernel/wifi/wlan/driver_version and /sys/kernel/wifi/wlan/fw/0/version 13 allow init-qcom-wlan-sh sysfs_msm_wlan:dir r_dir_perms; 14 allow init-qcom-wlan-sh sysfs_msm_wlan:file r_file_perms; 15