Whizzy New Feature: Paged segmented memory
On Tue, 8 Jan 2002 12:22:25 -0500, jtv wrote
Quoted 7 lines · Anthony DeRobertis
Quoted 4 lines
A nice thing about two stacks is that it can be a completely userspace thing. No need to involve the kernel at all; just gcc and friends.
Doesn't it have ABI implications as well?
Yes, it might make the whole thing binary incompatible (so we could have a new glibc major release :-) ) Not sure.
Quoted 1 line
If so, why not go all the way and have stacks grow upwards? :-)
This won't help. It will change the attack pattern though (so it may help a bit). If the stack grow upward, then the data from the caller, passed to the callee will be used to create the overflow. Taking control this way is still possible.
And the stack grow direction is controlled by the CPU stack operation and we can't change it.
---------------------------------------------------------
Jacques Gelinas <[email protected]>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc