Skip to content
Commit 567b7223 authored by Alexandre Ghiti's avatar Alexandre Ghiti Committed by Heiko Carstens
Browse files

s390/mm: mmap base does not depend on ADDR_NO_RANDOMIZE personality



randomize_stack_top() checks for current task flag PF_RANDOMIZE in order
to use stack randomization and PF_RANDOMIZE is set when
ADDR_NO_RANDOMIZE is unset, so no need to check for ADDR_NO_RANDOMIZE
in stack_maxrandom_size.

[heiko.carstens@de.ibm.com]: See also commit 01578e36 ("x86/elf:
Remove the unnecessary ADDR_NO_RANDOMIZE checks")

Signed-off-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent 8b96d971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment