blob: ff34638357cf0bbf037d9ad6c0517287402d9119 [file] [log] [blame]
Caleb Connollydaaab942022-04-07 01:59:50 +01001type set_wlan_mac, domain, coredomain;
2type set_wlan_mac_exec, exec_type, system_file_type, file_type;
3init_daemon_domain(set_wlan_mac);
4
5allow set_wlan_mac proc_cmdline:file { open read };
6allow set_wlan_mac rootfs:dir { open read };
7allow set_wlan_mac self:capability net_admin;
8allow set_wlan_mac self:netlink_route_socket { bind create getattr nlmsg_read nlmsg_readpriv nlmsg_write read setopt write };
9allow set_wlan_mac self:udp_socket { create ioctl };
10allow set_wlan_mac shell_exec:file { execute getattr map read };
11allow set_wlan_mac system_file:file execute_no_trans;
12allow set_wlan_mac toolbox_exec:file { execute execute_no_trans getattr map open read };
13allow set_wlan_mac system_data_root_file:file { getattr open read };
14allow set_wlan_mac net_data_file:dir search;
15allow set_wlan_mac self:capability sys_module;