aboutgitcodebugslistschat
path: root/contrib/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/selinux')
-rw-r--r--contrib/selinux/passt.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/selinux/passt.te b/contrib/selinux/passt.te
index e540473..f2628ec 100644
--- a/contrib/selinux/passt.te
+++ b/contrib/selinux/passt.te
@@ -131,6 +131,10 @@ corenet_tcp_sendrecv_all_ports(passt_t)
corenet_udp_sendrecv_all_ports(passt_t)
sysnet_read_config(passt_t)
+# Watch the directory holding resolv.conf for changes: conf_resolv_watch()
+files_watch_etc_dirs(passt_t)
+networkmanager_watch_pid_dirs(passt_t)
+systemd_resolved_watch_pid_dirs(passt_t)
allow passt_t node_t:icmp_socket { name_bind node_bind };
allow passt_t port_t:icmp_socket name_bind;