Exec-shield and memory randomization

Roland McGrath roland at redhat.com
Thu Aug 4 20:46:49 UTC 2005


> Still, this is rather unfortunate as there seems to be no reasonable way
> to get the ELF loader to reserve memory ranges.

The specified way is to use a PT_LOAD segment with p_flags 0, yielding a
PROT_NONE mapping that your program can mmap over or munmap after startup.
If this does not work right, then please file a bug about it.




More information about the fedora-devel-list mailing list