1# cuttlefish-setup service: runs init.cuttlefish.sh script 2type init_wifi_sh, domain; 3type init_wifi_sh_exec, vendor_file_type, exec_type, file_type; 4 5init_daemon_domain(init_wifi_sh) 6 7allow init_wifi_sh self:capability { fowner chown net_admin net_raw }; 8allow init_wifi_sh vendor_toolbox_exec:file execute_no_trans; 9allow init_wifi_sh mac80211_create_radios_exec:file execute_no_trans; 10 11vendor_internal_prop(vendor_wifi_mac_prefix); 12get_prop(init_wifi_sh, vendor_wifi_mac_prefix); 13 14allow init_wifi_sh self:netlink_generic_socket create_socket_perms_no_ioctl; 15