]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63a4c44f86a4b58a3d4017b60d7c7687ab274035
tree58f187409029f089f788c5c35ad5c200b4a555af
parentd6315d75d8f4d157fe2ffd9112a5c281a193d81f
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