GNU_STACK ELF header

David Holmes David.Holmes at oracle.com
Sat Aug 28 16:03:01 PDT 2010


Douglas Simon said the following on 08/28/10 23:42:
> I think the long term solution is to modify the
> __make_stacks_executable function in libc/nptl/allocatestack.c such
> that it only adds the PROT_EXEC bit to each thread's stack and leaves
> the current values for the PROT_READ and PROT_WRITE bits as is.

I find it hard to believe that they would overwrite the permission bits 
rather than augment them in the first place. I can't wait to find out 
what justification they think they had for doing that. :(

David


More information about the hotspot-dev mailing list