artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7379147
)
add SIOCSETKALIVE to the list of ioctls that need root and NET_LOCK
author
dlg
<dlg@openbsd.org>
Wed, 7 Feb 2018 22:36:54 +0000
(22:36 +0000)
committer
dlg
<dlg@openbsd.org>
Wed, 7 Feb 2018 22:36:54 +0000
(22:36 +0000)
sys/net/if.c
patch
|
blob
|
history
diff --git
a/sys/net/if.c
b/sys/net/if.c
index
bc63a2c
..
c788df8
100644
(file)
--- a/
sys/net/if.c
+++ b/
sys/net/if.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if.c,v 1.53
8 2018/01/12 23:47:2
4 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.53
9 2018/02/07 22:36:5
4 dlg Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@
-2094,6
+2094,7
@@
ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
NET_UNLOCK();
break;
+ case SIOCSETKALIVE:
case SIOCDIFPHYADDR:
case SIOCSLIFPHYADDR:
case SIOCSLIFPHYRTABLE: