RFC: Add --enable-static-pie to build static executables as PIE

Carlos O'Donell carlos@redhat.com
Tue Jul 18 13:09:00 GMT 2017


On 07/18/2017 08:30 AM, H.J. Lu wrote:
>> - What practical benefit do you get with a "static PIE"?
> 
> A static PIE can be loaded at random address without
> dynamic linker.

This is just a restating of what it does, Alan asked what practical
benefit it would have. What use cases do you see? Do you see us
completely replacing non-PIE static binaries with PIE static binaries
and then randomizing their load address to improve security?

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list