artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee88d60
)
Allow ioctl SIOCGNBRINFO_IN6 in case of "route", for use by ndp.
author
deraadt
<deraadt@openbsd.org>
Tue, 13 Oct 2015 18:42:06 +0000
(18:42 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 13 Oct 2015 18:42:06 +0000
(18:42 +0000)
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
2e603de
..
7d1b8d2
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.2
0 2015/10/13 18:38:34
deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.2
1 2015/10/13 18:42:06
deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-1097,6
+1097,7
@@
pledge_ioctl_check(struct proc *p, long com, void *v)
case SIOCGIFADDR:
case SIOCGIFFLAGS:
case SIOCGIFRDOMAIN:
+ case SIOCGNBRINFO_IN6:
if (fp->f_type == DTYPE_SOCKET)
return (0);
break;