Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11977f85 authored by Kees Cook's avatar Kees Cook Committed by Trilok Soni
Browse files

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.

Change-Id: I6adb02b1f6bba6c9f416b4cc8287a21d05a22eb0
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Git-commit: 8e89a356feb6f196824a72101861d931a97ac2d2
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarSe Wang (Patrick) Oh <sewango@codeaurora.org>
parent 8238053a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment