diff options
author | Alexandre Ghiti <alex@ghiti.fr> | 2019-04-04 02:19:56 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-06-04 15:03:53 +0200 |
commit | 567b722347239484d0b9ab0b42aeb24c1fe6b4e4 (patch) | |
tree | 5960ce4b35d0c04a81d1f80759913d4beaf5845b /arch/s390/kernel/dis.c | |
parent | 8b96d9712abcfdf6b5061610f1d187e23413eb0f (diff) | |
download | linux-567b722347239484d0b9ab0b42aeb24c1fe6b4e4.tar.gz linux-567b722347239484d0b9ab0b42aeb24c1fe6b4e4.tar.bz2 linux-567b722347239484d0b9ab0b42aeb24c1fe6b4e4.zip |
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 01578e36163c ("x86/elf:
Remove the unnecessary ADDR_NO_RANDOMIZE checks")
Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/dis.c')
0 files changed, 0 insertions, 0 deletions