Subject: CVS commit: [netbsd-3] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 03/24/2006 22:44:29
Module Name: src
Committed By: riz
Date: Fri Mar 24 22:44:29 UTC 2006
Modified Files:
src/sys/kern [netbsd-3]: kern_sysctl.c
Log Message:
Pull up following revision(s) (requested by drochner in ticket #1217):
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.179.2.1 -r1.179.2.2 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.