• Anton Blanchard's avatar
    [PATCH] ppc64: noexec fixes · a2f95a5a
    Anton Blanchard authored
    There were a few issues with the ppc64 noexec support:
    
    The 64bit ABI has a non executable stack by default.  At the moment 64bit apps
    require a PT_GNU_STACK section in order to have a non executable stack.
    
    Disable the read implies exec workaround on the 64bit ABI.  The 64bit
    toolchain has never had problems with incorrect mmap permissions (the 32bit
    has, thats why we need to retain the workaround).
    
    With these fixes as well as a gcc fix from Alan Modra (that was recently
    committed) 64bit apps work as expected.
    Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a2f95a5a
elf.h 16.5 KB