1type setup_wifi, domain;
2type setup_wifi_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(setup_wifi)
5
6allow setup_wifi self:capability { net_admin net_raw sys_module };
7allow setup_wifi self:udp_socket { create ioctl };
8allow setup_wifi self:netlink_route_socket { bind create nlmsg_write read write };
9
10allow setup_wifi kernel:system module_request;
11
12type cuttlefish_wifi_mac_address, property_type;
13
14get_prop(setup_wifi, cuttlefish_wifi_mac_address)
15