On Wed, 9 Apr 2008, Peter Teoh wrote:

> another interesting phenomena to know is that Linux kernel seemed to
> map all the processes' stack to the same linear address (for
> convenience of programming?):
>
> "cat /proc/*/maps | grep stack" and u can see ONE stack offset
> value. I thought there is an option to randomized the stack address?
> not sure.

i don't see *exactly* one value.  on my system, i see a few different
values, but they are, of course, all up in the 0xbff... range in the
virtual address space, exactly where i would expect to see them.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to