diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-02-07 12:03:08 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 10:45:33 -0800 |
commit | 72613e5f44adf2fe2684a5f1c1b62c2ee9984f40 (patch) | |
tree | 14cb1a018093cd1b5a0924850d36106cc0cd40d9 /include/asm-m68knommu | |
parent | c051b01129560ea02ea2cebdf00db0721cc9a618 (diff) |
[PATCH] uclinux: correctly remap bin_fmtflat exe allocated mem regions
remap() the region we get from mmap() to mark the fact that we are
using all of the available slack space. Any slack space is used
to form a simple brk region, and potentially more stack space than
requested at load time.
Any searches of the vma chain may well fail looking for
stack (and especially arg) addresses if the remaping is not done.
The simplest example is /proc/<pid>/cmdline, since the args
are pretty much always at the top of the data/bss/stack region.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68knommu')
0 files changed, 0 insertions, 0 deletions