• A
    [PATCH] ppc64: noexec fixes · a2f95a5a
    Anton Blanchard 提交于
    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: NAnton Blanchard <anton@samba.org>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    a2f95a5a
page.h 8.1 KB