From: Heiko Carstens Date: Wed, 12 Jan 2011 08:55:22 +0000 (+0100) Subject: [S390] mmap: consider stack address randomization X-Git-Tag: v2.6.38-rc1~62^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9046e401e752dba784805a7818f99cc45a39cbff;p=pandora-kernel.git [S390] mmap: consider stack address randomization Consider stack address randomization when calulating mmap_base for flexible mmap layout . Because of address randomization the stack address can be up to 8MB lower than STACK_TOP. When calculating mmap_base this isn't taken into account, which could lead to the case that the gap between the real stack top and mmap_base is lower than what ulimit specifies for the maximum stack size. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed