summaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-02-07 05:03:08 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-09 21:45:33 +0300
commit72613e5f44adf2fe2684a5f1c1b62c2ee9984f40 (patch)
tree14cb1a018093cd1b5a0924850d36106cc0cd40d9 /fs/super.c
parentc051b01129560ea02ea2cebdf00db0721cc9a618 (diff)
downloadlinux-72613e5f44adf2fe2684a5f1c1b62c2ee9984f40.tar.xz
[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 'fs/super.c')
0 files changed, 0 insertions, 0 deletions