artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3793cba
)
I messed up reading the call graph. -d delete does use search, so a
author
deraadt
<deraadt@openbsd.org>
Wed, 14 Oct 2015 04:03:01 +0000
(
04:03
+0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 14 Oct 2015 04:03:01 +0000
(
04:03
+0000)
late pledge is not possible in this way.
usr.sbin/arp/arp.c
patch
|
blob
|
history
diff --git
a/usr.sbin/arp/arp.c
b/usr.sbin/arp/arp.c
index
c8bda7f
..
fba7ed0
100644
(file)
--- a/
usr.sbin/arp/arp.c
+++ b/
usr.sbin/arp/arp.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: arp.c,v 1.6
8 2015/10/09 01:37:09
deraadt Exp $ */
+/* $OpenBSD: arp.c,v 1.6
9 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;