Merge "put netd into net_domain"
This commit is contained in:
commit
96c266c390
1 changed files with 2 additions and 4 deletions
6
netd.te
6
netd.te
|
@ -3,15 +3,13 @@ type netd, domain;
|
|||
type netd_exec, exec_type, file_type;
|
||||
|
||||
init_daemon_domain(netd)
|
||||
net_domain(netd)
|
||||
|
||||
allow netd self:capability { net_admin net_raw kill fsetid };
|
||||
allow netd self:netlink_kobject_uevent_socket *;
|
||||
allow netd self:netlink_route_socket *;
|
||||
allow netd self:netlink_nflog_socket *;
|
||||
allow netd self:rawip_socket *;
|
||||
allow netd self:{ tcp_socket udp_socket } *;
|
||||
allow netd node:{ tcp_socket udp_socket } node_bind;
|
||||
allow netd port:{ tcp_socket udp_socket } name_bind;
|
||||
allow netd port:tcp_socket name_connect;
|
||||
allow netd self:unix_stream_socket *;
|
||||
allow netd shell_exec:file rx_file_perms;
|
||||
allow netd system_file:file x_file_perms;
|
||||
|
|
Loading…
Reference in a new issue