: The function stack_check() in arch/i86/kernel/process.c checks to see
: whether the stack pointer is less then the brk pointer, and segfaults if it
: is.
:
stack_check() is used by the kernel to see if the user process
has run out of space, only during a system call. If anyone really cares,
I think that we need to implement the checking on a per-function call basis,
as this is where all stack data is actually allocated, and where the
process actually trashes the stack.
Greg
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- Re: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Greg Haerr
