[PATCH v4 03/10] arm64: standardize mmap_rnd() usage
Kees Cook
keescook at chromium.org
Wed Mar 18 02:19:20 AEDT 2015
On Tue, Mar 17, 2015 at 7:47 AM, Will Deacon <will.deacon at arm.com> wrote:
> On Wed, Mar 04, 2015 at 09:10:47PM +0000, Kees Cook wrote:
>> 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 <keescook at chromium.org>
>> ---
>> 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 <will.deacon at arm.com>
>
> 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
More information about the Linuxppc-dev
mailing list