From: deraadt Date: Wed, 14 Oct 2015 04:03:01 +0000 (+0000) Subject: I messed up reading the call graph. -d delete does use search, so a X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c465b001dae9cc190dde13d259272df57ed205dd;p=openbsd I messed up reading the call graph. -d delete does use search, so a late pledge is not possible in this way. --- diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index c8bda7faeaf..fba7ed0dd45 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arp.c,v 1.68 2015/10/09 01:37:09 deraadt Exp $ */ +/* $OpenBSD: arp.c,v 1.69 2015/10/14 04:03:01 deraadt Exp $ */ /* $NetBSD: arp.c,v 1.12 1995/04/24 13:25:18 cgd Exp $ */ /* @@ -469,9 +469,6 @@ search(in_addr_t addr, void (*action)(struct sockaddr_dl *sdl, struct sockaddr_inarp *sin; struct sockaddr_dl *sdl; - if (pledge("stdio dns route", NULL) == -1) - err(1, "pledge"); - mib[0] = CTL_NET; mib[1] = PF_ROUTE; mib[2] = 0;