From: Radu Caragea Date: Tue, 13 Aug 2013 23:00:59 +0000 (-0700) Subject: x86 get_unmapped_area(): use proper mmap base for bottom-up direction X-Git-Tag: v3.11-rc6~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df54d6fa54275ce59660453e29d1228c2b45a826;p=pandora-kernel.git x86 get_unmapped_area(): use proper mmap base for bottom-up direction When the stack is set to unlimited, the bottomup direction is used for mmap-ings but the mmap_base is not used and thus effectively renders ASLR for mmapings along with PIE useless. Cc: Michel Lespinasse Cc: Oleg Nesterov Reviewed-by: Rik van Riel Acked-by: Ingo Molnar Cc: Adrian Sendroiu Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed