From 63b6e26335fc07c8fe26646e015cbdaee672a548 Mon Sep 17 00:00:00 2001 From: dlg Date: Wed, 7 Feb 2018 22:36:54 +0000 Subject: [PATCH] add SIOCSETKALIVE to the list of ioctls that need root and NET_LOCK --- sys/net/if.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/if.c b/sys/net/if.c index bc63a2c221b..c788df82c08 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.538 2018/01/12 23:47:24 dlg Exp $ */ +/* $OpenBSD: if.c,v 1.539 2018/02/07 22:36:54 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: -- 2.20.1