diff options
author | Kees Cook <keescook@chromium.org> | 2015-04-14 22:47:57 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 23:49:05 (GMT) |
commit | 8e89a356feb6f196824a72101861d931a97ac2d2 (patch) | |
tree | a094206d40c115021bd0bc0f795091cee63b420f /arch/arm64/mm/mmap.c | |
parent | ed6322746afb74c2509e2f3a6464182793b16eb9 (diff) | |
download | linux-8e89a356feb6f196824a72101861d931a97ac2d2.tar.xz |
s390: standardize mmap_rnd() usage
In preparation for splitting out ET_DYN ASLR, this refactors the use of
mmap_rnd() to be used similarly to arm and x86, and extracts the
checking of PF_RANDOMIZE.
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm64/mm/mmap.c')
0 files changed, 0 insertions, 0 deletions