Subject: CVS commit: syssrc/sys/arch/i386/i386
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 10/06/2002 15:35:17
Module Name:	syssrc
Committed By:	fvdl
Date:		Sun Oct  6 12:35:17 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/i386: vm_machdep.c

Log Message:
Put an unmapped page below the kernel stack (and above struct user) to
catch kernel stack overflows. This bumps UPAGES from 2 to 4 (one unmapped),
because struct user take 1 page then there's the unmapped page, and
then the 2 pages for the kernel stack. If the NOREDZONE option is
set, UPAGES is 2 as before, and no unmapped page is used.


To generate a diff of this commit:
cvs rdiff -r1.103 -r1.104 syssrc/sys/arch/i386/i386/vm_machdep.c

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