diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-02-20 03:46:46 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-02-20 03:46:46 +0000 |
commit | 81a4f149acdf6d0d239dea13f9c7699310202537 (patch) | |
tree | 4744729a4d14643051213dd90b0a5e1e48494210 /sys | |
parent | 0caf0dd3ae551fa8e25893db2ba2efd5a95b1744 (diff) |
only allow root to use SIOCSVNETFLOWID.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 1bdb92ff5be..40ca01716dc 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.546 2018/02/19 08:59:52 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.547 2018/02/20 03:46:45 dlg Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -2119,6 +2119,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) case SIOCDELMULTI: case SIOCSIFMEDIA: case SIOCSVNETID: + case SIOCSVNETFLOWID: case SIOCSIFPAIR: case SIOCSIFPARENT: case SIOCDIFPARENT: |