From: Kees Cook Date: Tue, 14 Apr 2015 22:48:04 +0000 (-0700) Subject: s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c6f5b001e65cdac592b65a08c5d2dd179cfba568;hp=c6f5b001e65cdac592b65a08c5d2dd179cfba568;p=deliverable%2Flinux.git s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE In preparation for moving ET_DYN randomization into the ELF loader (which requires a static ELF_ET_DYN_BASE), this redefines s390's existing ET_DYN randomization in a call to arch_mmap_rnd(). This refactoring results in the same ET_DYN randomization on s390. Signed-off-by: Kees Cook Acked-by: Martin Schwidefsky Cc: Heiko Carstens Reviewed-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ---