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 <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Adrian Sendroiu <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>