From: reyk Date: Tue, 20 Oct 2015 17:44:48 +0000 (+0000) Subject: Add SIOCGIFGMEMB to "route" (returns a list of all interfaces who are X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5e685f16b0ec758cd412a5da32199d2ae7572619;p=openbsd Add SIOCGIFGMEMB to "route" (returns a list of all interfaces who are member of the given group). This is used by some parse.y. OK deraadt@ --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 626abb413ed..1eab94e4267 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.60 2015/10/20 06:40:00 semarie Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.61 2015/10/20 17:44:48 reyk Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -1075,6 +1075,7 @@ pledge_ioctl_check(struct proc *p, long com, void *v) case SIOCGIFNETMASK_IN6: case SIOCGIFRDOMAIN: case SIOCGNBRINFO_IN6: + case SIOCGIFGMEMB: if (fp->f_type == DTYPE_SOCKET) return (0); break;