summaryrefslogtreecommitdiff
path: root/sepolicy/init_eth0.te
blob: 45fd56d77834872b52b63cfd94a52a1a5aa7be6a (plain)
1
2
3
4
5
6
7
8
9
10
type init_eth0, domain;
type init_eth0_exec, exec_type, file_type;

init_daemon_domain(init_eth0)

allow init_eth0 self:capability { net_admin net_raw };
allow init_eth0 self:udp_socket { create ioctl };
allowxperm init_eth0 self:udp_socket ioctl priv_sock_ioctls;
allow init_eth0 shell_exec:file { execute getattr read };
allow init_eth0 toolbox_exec:file { execute execute_no_trans getattr open read };