[PATCH v4 03/10] arm64: standardize mmap_rnd() usage
From: Kees Cook <hidden>
Date: 2015-03-17 15:19:20
Also in:
linux-fsdevel, linux-mips, linuxppc-dev, lkml
From: Kees Cook <hidden>
Date: 2015-03-17 15:19:20
Also in:
linux-fsdevel, linux-mips, linuxppc-dev, lkml
On Tue, Mar 17, 2015 at 7:47 AM, Will Deacon [off-list ref] wrote:
On Wed, Mar 04, 2015 at 09:10:47PM +0000, Kees Cook wrote:quoted
In preparation for splitting out ET_DYN ASLR, this refactors the use of mmap_rnd() to be used similarly to arm and x86. This additionally enables mmap ASLR on legacy mmap layouts, which appeared to be missing on arm64, and was already supported on arm. Additionally removes a copy/pasted declaration of an unused function. Signed-off-by: Kees Cook <redacted> --- arch/arm64/include/asm/elf.h | 1 - arch/arm64/mm/mmap.c | 18 +++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-)Looks fine to me: Acked-by: Will Deacon [off-list ref] Do you want me to pick this up, or are you taking it along with the rest of your series (it doesn't have any obvious dependencies to me)?
Thanks! Right now akpm is carrying it, since the series ends with changes that depend on all the per-arch refactoring. -Kees -- Kees Cook Chrome OS Security