aboutsummaryrefslogtreecommitdiffstats
path: root/net.te
diff options
context:
space:
mode:
Diffstat (limited to 'net.te')
-rw-r--r--net.te13
1 files changed, 1 insertions, 12 deletions
diff --git a/net.te b/net.te
index c67f456..9942efe 100644
--- a/net.te
+++ b/net.te
@@ -13,18 +13,7 @@ allow netdomain node_type:{ tcp_socket udp_socket } node_bind;
allow netdomain port_type:udp_socket name_bind;
allow netdomain port_type:tcp_socket name_bind;
# See changes to the routing table.
-allow netdomain self:netlink_route_socket {
- read
- bind
- create
- nlmsg_read
- ioctl
- getattr
- setattr
- getopt
- setopt
- shutdown
-};
+allow netdomain self:netlink_route_socket { create_socket_perms nlmsg_read };
# Talks to netd via dnsproxyd socket.
unix_socket_connect(netdomain, dnsproxyd, netd)