1 # in addition to ioctl commands granted to domain allow wpa to use:
2 allowxperm wpa self:udp_socket ioctl priv_sock_ioctls;
3 allowxperm wpa self:packet_socket ioctl { SIOCGIFINDEX SIOCGIFHWADDR };
4
5 # read files in /sys
6 r_dir_file(wpa, sysfs_type)
7