Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

Jonathan Lundell
2001-05-25T16:36:03Z

At 8:45 AM -0700 2001-05-25, dean gaudet wrote:
>i think it really depends on how you use current -- here's an alternative
>usage which can fold the extra addition into the structure offset
>calculations, and moves the task struct to the top of the stack.
>
>not that this really solves anything, 'cause a stack underflow will just
>trash something else rather than the task struct :)

It would open the door for putting a guard page (which only occupies
virtual space, after all) below the stack. I have no idea whether
that's practical, given other constraints, but it's a potential
benefit of having the stack at the bottom rather than the top of a
page.
--
/Jonathan Lundell.