Subject: CVS commit: [netbsd-2] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 03/24/2006 21:38:54
Module Name:	src
Committed By:	riz
Date:		Fri Mar 24 21:38:54 UTC 2006

Modified Files:
	src/sys/kern [netbsd-2]: kern_sysctl.c

Log Message:
Pull up following revision(s) (requested by drochner in ticket #10381):
	sys/kern/kern_sysctl.c: revision 1.191
Check the "oldlen" argument to sysctl(2) before passing it
to vslock(9). This prevents a local DOS.
(The checks against system and user limits for wired
memory should be centralized in UVM; for now prefer a less
invasive fix which can be pulled pulled up into releases.)


To generate a diff of this commit:
cvs rdiff -r1.169.2.6 -r1.169.2.6.2.1 src/sys/kern/kern_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.