News for hackers. Stuff that matters.
Re:How statically linked programs run on Linux (2012) by lgeek on Sunday October 26, 2014 @08:43AM (#8510897)
The diagram showing the stack on program entry misses the auxiliary vector[0].

As a sidenote, I find stack diagrams more intuitive (for typical descending stacks) when the low address is drawn at the top. This way it looks like a real-world stack and if you need to represent some data or executable code in the same address space it will appear in natural order, from top to bottom.

[0] http://articles.manugarg.com/aboutelfauxiliaryvectors.html

Re:How statically linked programs run on Linux (2012) by eliben on Sunday October 26, 2014 @08:59AM (#8510913)
Yep, I omitted it for simplicity in the diagram, though I do mention it later on.