[PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE

Martin Schwidefsky schwidefsky at de.ibm.com
Mon Mar 9 10:42:03 PDT 2015


On Wed,  4 Mar 2015 13:10:52 -0800
Kees Cook <keescook at chromium.org> wrote:

> 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 <keescook at chromium.org>
> ---
>  arch/s390/include/asm/elf.h |  8 +++++---
>  arch/s390/mm/mmap.c         | 11 ++---------
>  2 files changed, 7 insertions(+), 12 deletions(-)

Patch series including this patch works fine
Acked-by: Martin Schwidefsky <schwidefsky at de.ibm.com>

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.




More information about the linux-arm-kernel mailing list