From: deraadt Date: Tue, 13 Oct 2015 18:42:06 +0000 (+0000) Subject: Allow ioctl SIOCGNBRINFO_IN6 in case of "route", for use by ndp. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=733b77e859e04b37a96d7edf812b3f3ab5bf0ac6;p=openbsd Allow ioctl SIOCGNBRINFO_IN6 in case of "route", for use by ndp. --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 2e603de7d89..7d1b8d22674 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.20 2015/10/13 18:38:34 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.21 2015/10/13 18:42:06 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -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;