On Fri, May 25, 2001 at 07:52:02AM -0400, Brian Gerst wrote: > Actually, you will never get a stack fault exception, since with a flat > stack segment you can never get a limit violation. All you will do is > corrupt the data in task struct and cause an oops later on when the > kernel tries to use the task struct. There are only two ways to > properly trap a kernel stack overflow: In my experience the stack pointer eventually gets corrupted and starts pointing to some unmapped area, which gives you a stack fault (admittedly a backtrace is a bit hard after that) -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 ... Anton Altaparmakov
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 ... Andreas Dilger
- Re: [CHECKER] large stack variables (>=1K) in 2... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) ... David Welch
- Re: [CHECKER] large stack variables (>=... Keith Owens
- Re: [CHECKER] large stack variables (>=... dean gaudet
- Re: [CHECKER] large stack variables (&... Keith Owens
- Re: [CHECKER] large stack variabl... dean gaudet
- Re: [CHECKER] large stack variables (>=1K) ... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) ... Brian Gerst
- Re: [CHECKER] large stack variables (>=... Andi Kleen
- Re: [CHECKER] large stack variables (&... Brian Gerst
- Re: [CHECKER] large stack variables (>=1K) in 2... Andrew Morton
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 ... Dawson Engler
- Re: [CHECKER] large stack variables (>=1K) in 2... Alexander Viro
- Re: [CHECKER] large stack variables (>=1K) ... Dawson Engler
- RE: [CHECKER] large stack variables (>=1K) in 2.4.4 ... Dunlap, Randy
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 ... Andreas Dilger
- Re: [CHECKER] large stack variables (>=1K) in 2... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) ... Keith Owens
- Re: [CHECKER] large stack variables (>=... Andi Kleen