From 67bbb3f4ba009eafcd21f34426ca4789e8e8534b Mon Sep 17 00:00:00 2001 From: renato Date: Thu, 22 Oct 2015 10:42:14 +0000 Subject: [PATCH] The eigrpe process also needs to pledge "cpath" for unlinking the control socket. --- usr.sbin/eigrpd/eigrpe.c | 4 ++-- 1 file 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 @@ -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(); -- 2.20.1