brk randomization: introduce CONFIG_COMPAT_BRK
authorIngo Molnar <mingo@elte.hu>
Wed, 6 Feb 2008 21:39:44 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 6 Feb 2008 21:39:44 +0000 (22:39 +0100)
commit32a932332c8bad842804842eaf9651ad6268e637
tree58f187409029f089f788c5c35ad5c200b4a555af
parent4cc6028d4040f95cdb590a87db478b42b8be0508
brk randomization: introduce CONFIG_COMPAT_BRK

based on similar patch from: Pavel Machek <pavel@ucw.cz>

Introduce CONFIG_COMPAT_BRK. If disabled then the kernel is free
(but not obliged to) randomize the brk area.

Heap randomization breaks ancient binaries, so we keep COMPAT_BRK
enabled by default.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/binfmt_elf.c
init/Kconfig
mm/memory.c