aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2008-02-06 22:39:44 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-06 22:39:44 +0100
commit4cc6028d4040f95cdb590a87db478b42b8be0508 (patch)
tree9b9879d8b8cc055e4bb8eabd69b979a17e6e52cd /init/Kconfig
parentx86: remove X2 workaround (diff)
downloadlinux-dev-4cc6028d4040f95cdb590a87db478b42b8be0508.tar.xz
linux-dev-4cc6028d4040f95cdb590a87db478b42b8be0508.zip
brk: check the lower bound properly
There is a check in sys_brk(), that tries to make sure that we do not underflow the area that is dedicated to brk heap. The check is however wrong, as it assumes that brk area starts immediately after the end of the code (+bss), which is wrong for example in environments with randomized brk start. The proper way is to check whether the address is not below the start_brk address. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions