summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/asm-offsets.h
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2015-08-20 22:11:06 +0300
committerGreg Ungerer <gerg@uclinux.org>2015-10-26 02:02:32 +0300
commit4ac313111018cb44ecc250445de5ccb93026a980 (patch)
tree6502ee373ecfe22c40afaf79d19122788796a562 /arch/xtensa/include/asm/asm-offsets.h
parent32b88194f71d6ae7768a29f87fbba454728273ee (diff)
downloadlinux-4ac313111018cb44ecc250445de5ccb93026a980.tar.xz
fs/binfmt_elf_fdpic.c: fix brk area overlap with stack on NOMMU
On NOMMU archs, the FDPIC ELF loader sets up the usable brk range to overlap with all but the last PAGE_SIZE bytes of the stack. This leads to catastrophic memory reuse/corruption if brk is used. Fix by setting the brk area to zero size to disable its use. Signed-off-by: Rich Felker <dalias@libc.org> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/xtensa/include/asm/asm-offsets.h')
0 files changed, 0 insertions, 0 deletions