Re: [PATCH v3] powerpc: Do not make the entire heap executable

From: Denys Vlasenko
Date: Wed Aug 10 2016 - 17:31:17 EST




On 08/10/2016 06:36 AM, Michael Ellerman wrote:
Denys Vlasenko <dvlasenk@xxxxxxxxxx> writes:

On 32-bit powerps the ELF PLT sections of binaries (built with --bss-plt,
or with a toolchain which defaults to it) look like this:
...

arch/powerpc/include/asm/page.h | 10 +---------
arch/powerpc/include/asm/page_32.h | 2 --
arch/powerpc/include/asm/page_64.h | 4 ----
fs/binfmt_elf.c | 34 ++++++++++++++++++++++++++--------
include/linux/mm.h | 1 +
mm/mmap.c | 20 +++++++++++++++-----
6 files changed, 43 insertions(+), 28 deletions(-)

What tree is this against?

Linus' tree from before August 2.
The "mm: refuse wrapped vm_brk requests" commit collided with my changes
I'll send patch v4 rebased to today's linus tree as soon as I finish testing it.