Subject: Re: kernel stack overflow detection
To: None <christos@zoulas.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/21/2002 13:33:44
From: christos@zoulas.com (Christos Zoulas)
> I trap.c:
>     +#ifdef KSTACK_SAFE
>     +int kstack_check_dr0_panic;
>     +#ifdef DDB
>     +int kstack_check_dr0_debug;
>     +#endif
>     +#endif
> 
> should be:
> 
>     +#ifdef KSTACK_SAVE_DR0 
> 
> me thinks.

yes, it should be
#if defined(KSTACK_CHECK_DR0) && defined(KSTACK_SAFE)

thanks.

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