artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e2145
)
make sure only root can configure an interface with SIOCSLIFPHYDF.
author
dlg
<dlg@openbsd.org>
Mon, 19 Feb 2018 00:24:48 +0000
(
00:24
+0000)
committer
dlg
<dlg@openbsd.org>
Mon, 19 Feb 2018 00:24:48 +0000
(
00:24
+0000)
sys/net/if.c
patch
|
blob
|
history
diff --git
a/sys/net/if.c
b/sys/net/if.c
index
ffafd37
..
91c3d5a
100644
(file)
--- a/
sys/net/if.c
+++ b/
sys/net/if.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if.c,v 1.54
4 2018/02/10 09:32:54 claudio Exp $
*/
+/* $OpenBSD: if.c,v 1.54
5 2018/02/19 00:24:48 dlg Exp $
*/
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@
-2114,6
+2114,7
@@
ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
case SIOCSLIFPHYADDR:
case SIOCSLIFPHYRTABLE:
case SIOCSLIFPHYTTL:
+ case SIOCSLIFPHYDF:
case SIOCADDMULTI:
case SIOCDELMULTI:
case SIOCSIFMEDIA: