artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2f588
)
only allow root to use SIOCSVNETFLOWID.
author
dlg
<dlg@openbsd.org>
Tue, 20 Feb 2018 03:46:45 +0000
(
03:46
+0000)
committer
dlg
<dlg@openbsd.org>
Tue, 20 Feb 2018 03:46:45 +0000
(
03:46
+0000)
sys/net/if.c
patch
|
blob
|
history
diff --git
a/sys/net/if.c
b/sys/net/if.c
index
1bdb92f
..
40ca017
100644
(file)
--- a/
sys/net/if.c
+++ b/
sys/net/if.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if.c,v 1.54
6 2018/02/19 08:59:52 mpi
Exp $ */
+/* $OpenBSD: if.c,v 1.54
7 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: