Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Only allow superuser to change 802.11 power params.
details: https://anonhg.NetBSD.org/src/rev/811f79b52e15
branches: trunk
changeset: 500471:811f79b52e15
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Dec 12 17:48:29 2000 +0000
description:
Only allow superuser to change 802.11 power params.
diffstat:
sys/net/if.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 8ed9de6c31e2 -r 811f79b52e15 sys/net/if.c
--- a/sys/net/if.c Tue Dec 12 17:44:04 2000 +0000
+++ b/sys/net/if.c Tue Dec 12 17:48:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.75 2000/10/11 16:52:34 thorpej Exp $ */
+/* $NetBSD: if.c,v 1.76 2000/12/12 17:48:29 thorpej Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -1174,6 +1174,7 @@
case SIOCSDRVSPEC:
case SIOCS80211NWID:
case SIOCS80211NWKEY:
+ case SIOCS80211POWER:
/* XXX: need to pass proc pointer through to driver... */
if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
return (error);
Home |
Main Index |
Thread Index |
Old Index