From: renato Date: Thu, 22 Oct 2015 10:42:14 +0000 (+0000) Subject: The eigrpe process also needs to pledge "cpath" for unlinking the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=67bbb3f4ba009eafcd21f34426ca4789e8e8534b;p=openbsd The eigrpe process also needs to pledge "cpath" for unlinking the control socket. --- 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();