summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2015-10-22 10:42:15 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2015-10-22 10:42:15 +0000
commit0d5e0845b1f75c84882306a8983109ae093c8d8a (patch)
treeb4c2db976291f0fb41d6e45b9491b48e49a72ed5 /usr.sbin
parent412a3ce13e105ed0470239f4bdc6aec3f467f0a3 (diff)
The eigrpe process also needs to pledge "cpath" for unlinking the
control socket.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/eigrpd/eigrpe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/eigrpd/eigrpe.c b/usr.sbin/eigrpd/eigrpe.c
index 0aae0686767..c17b1677431 100644
--- a/usr.sbin/eigrpd/eigrpe.c
+++ b/usr.sbin/eigrpd/eigrpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrpe.c,v 1.6 2015/10/21 03:52:12 renato Exp $ */
+/* $OpenBSD: eigrpe.c,v 1.7 2015/10/22 10:42:14 renato Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -190,7 +190,7 @@ eigrpe(struct eigrpd_conf *xconf, int pipe_parent2eigrpe[2], int pipe_eigrpe2rde
TAILQ_FOREACH(iface, &econf->iface_list, entry)
if_init(xconf, iface);
- if (pledge("stdio inet mcast", NULL) == -1)
+ if (pledge("stdio cpath inet mcast", NULL) == -1)
fatal("pledge");
event_dispatch();