Subject: Re: kernel stack overflow detection
To: None <tech-kern@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/21/2002 01:03:08
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
> > What's the "/ 2" for?!
> 
> because the starting part of kernel stack is already
> used at that time, we can't fill out whole of stack.
> yes, "/ 2" isn't so right. so it's marked as XXX. ;)
> I'll change to setup magic before cpu_fork.

i updated patches a bit.
http://www2q.biglobe.ne.jp/~yama/file/kstack/kstack3.diff

can i commit it?
(maybe without KSTACK_SAFE part?)

---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>