Re: [PATCH] riscv: Enable ELF-ASLR for riscv

2020-07-09 Thread Guo Ren
On Thu, Jul 9, 2020 at 1:32 PM Alex Ghiti wrote: > > Hi Guo, > > Le 7/9/20 à 12:38 AM, guo...@kernel.org a écrit : > > From: Guo Ren > > > > Let riscv enable randomizes the stack, heap and binary images of > > ELF binaries. Seems it's ok at all after qemu & chip test and > > there is no founded

Re: [PATCH] riscv: Enable ELF-ASLR for riscv

2020-07-08 Thread Alex Ghiti
Hi Guo, Le 7/9/20 à 12:38 AM, guo...@kernel.org a écrit : From: Guo Ren Let riscv enable randomizes the stack, heap and binary images of ELF binaries. Seems it's ok at all after qemu & chip test and there is no founded side effect. So just simply select ARCH_HAS_ELF_RANDOMIZE :)

[PATCH] riscv: Enable ELF-ASLR for riscv

2020-07-08 Thread guoren
From: Guo Ren Let riscv enable randomizes the stack, heap and binary images of ELF binaries. Seems it's ok at all after qemu & chip test and there is no founded side effect. So just simply select ARCH_HAS_ELF_RANDOMIZE :) Signed-off-by: Guo Ren Cc: Palmer Dabbelt Cc: Paul Walmsley Cc: Zong