Re: [PATCH 4/5] mm: split ET_DYN ASLR from mmap ASLR
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-03-04 23:56:22
Also in:
linux-arm-kernel, linux-mips, linuxppc-dev, lkml
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-03-04 23:56:22
Also in:
linux-arm-kernel, linux-mips, linuxppc-dev, lkml
On Wed, 2015-03-04 at 13:13 -0800, Kees Cook wrote:
I had a question in the powerpc-specific change that may have gone unnoticed: Can mmap ASLR be safely enabled in the legacy mmap case here? Other archs use "mm->mmap_base = TASK_UNMAPPED_BASE + random_factor". Separate from this series, do you happen to know if this improvement can be made, or if the legacy mmap on powerpc can't handle this?
Yeah I saw that. The short answer is I'm not sure. I assume we have that distinction for some good reason, but whether we still need it I don't know. I'll dig a bit and see if anyone can remember the details. cheers