summaryrefslogtreecommitdiff
path: root/sys/kern/kern_pledge.c
diff options
context:
space:
mode:
authorAaron Bieber <abieber@cvs.openbsd.org>2017-11-17 23:08:11 +0000
committerAaron Bieber <abieber@cvs.openbsd.org>2017-11-17 23:08:11 +0000
commit0cee7345e3961e7ba697c89781480b70b1b12ff6 (patch)
treecc680109665be49a13ae41906b132aa5c1b6c9a4 /sys/kern/kern_pledge.c
parentde6c7b21857d428ac7adc0b017dabd43a1471412 (diff)
permit IPV6_V6ONLY in sockopt
OK deraadt@
Diffstat (limited to 'sys/kern/kern_pledge.c')
-rw-r--r--sys/kern/kern_pledge.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 4a5541db373..b4906c3a2c1 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.223 2017/10/12 15:04:33 bluhm Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.224 2017/11/17 23:08:10 abieber Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -1280,9 +1280,7 @@ pledge_sockopt(struct proc *p, int set, int level, int optname)
case IPV6_PORTRANGE:
case IPV6_RECVPKTINFO:
case IPV6_RECVDSTPORT:
-#ifdef notyet
case IPV6_V6ONLY:
-#endif
return (0);
case IPV6_MULTICAST_IF:
case IPV6_MULTICAST_HOPS: