Re: Going up the call stack on a system call

Karim Yaghmour (karym@info.polymtl.ca)
Sun, 21 Nov 1999 18:10:07 -0500


Thanks a lot for your help Andi. It clears a lot of gray
areas for me.

Andi Kleen wrote:
> Looks better, although I'm not sure why you're checking for the data segment.

Well imagine the case, even though very unlikely, where the
user would create a program with a pre-initialized stack.
This does sound awkward, but it's in the real of the possible.
This is the only reason I check the data segment.

Very unlikely, but not impossible ...

Thanks again!

===================================================
Karim Yaghmour
karym@info.polymtl.ca
Operating System Consultant
(Linux kernel, real-time and distributed systems)
===================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/