GNU_STACK ELF header

Andi Kleen andi at firstfloor.org
Mon Aug 30 07:08:27 PDT 2010



David Holmes <David.Holmes-QHcLZuEGTsvQT0dZR+AlfA at public.gmane.org>
writes:
>
> <sigh> Looks like it is because the OS gives no way to do otherwise :(
> mprotect doesn't allow you to add to the existing permissions only set
> them - and there's no API that I can see to query page permissions.

/proc/self/maps. But it's not very nice to use and slow.

-Andi



More information about the hotspot-dev mailing list