1type mini_network, domain, coredomain;
2type mini_network_exec, exec_type, system_file_type, file_type;
3
4init_daemon_domain(mini_network)
5
6allow mini_network self:capability net_admin;
7allow mini_network self:netlink_route_socket { bind create getattr nlmsg_write read setopt write };
8allow mini_network self:udp_socket { create ioctl };
9allow mini_network shell_exec:file { execute getattr map read };
10allow mini_network system_file:file execute_no_trans;
11