Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Be more paranoid about data a non-root user may query.
details: https://anonhg.NetBSD.org/src/rev/6ab30c8b3dd5
branches: trunk
changeset: 565436:6ab30c8b3dd5
user: martin <martin%NetBSD.org@localhost>
date: Thu Apr 08 09:26:59 2004 +0000
description:
Be more paranoid about data a non-root user may query.
Fixes PR kern/25099 by Christian Biere.
diffstat:
sys/net/if_spppsubr.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 1a1858c12df6 -r 6ab30c8b3dd5 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c Thu Apr 08 07:35:34 2004 +0000
+++ b/sys/net/if_spppsubr.c Thu Apr 08 09:26:59 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_spppsubr.c,v 1.75 2003/12/26 23:39:23 martin Exp $ */
+/* $NetBSD: if_spppsubr.c,v 1.76 2004/04/08 09:26:59 martin Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.75 2003/12/26 23:39:23 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.76 2004/04/08 09:26:59 martin Exp $");
#include "opt_inet.h"
#include "opt_ipx.h"
@@ -1144,9 +1144,12 @@
break;
case SPPPSETAUTHCFG:
+ case SPPPGETAUTHCFG:
case SPPPSETLCPCFG:
+ case SPPPGETLCPCFG:
case SPPPSETIDLETO:
case SPPPSETAUTHFAILURE:
+ case SPPPGETAUTHFAILURES:
case SPPPSETDNSOPTS:
case SPPPSETKEEPALIVE:
{
@@ -1156,12 +1159,9 @@
break;
}
/* FALLTHROUGH */
- case SPPPGETAUTHCFG:
- case SPPPGETLCPCFG:
case SPPPGETSTATUS:
case SPPPGETSTATUSNCP:
case SPPPGETIDLETO:
- case SPPPGETAUTHFAILURES:
case SPPPGETDNSOPTS:
case SPPPGETDNSADDRS:
case SPPPGETKEEPALIVE:
Home |
Main Index |
Thread Index |
Old Index