how to turn off PIE on Fedora?

Diego Novillo dnovillo@redhat.com
Sat Dec 13 03:32:00 GMT 2003


On Fri, 2003-12-12 at 21:22, Per Bothner wrote:

> This presumably is because of PIE "position independent
> executables", which is supoosed to increase security.  Fine -
> but how can I turn it off for development builds?
> 
Add this to /etc/rc.local

echo 0 > /proc/sys/kernel/exec-shield


Diego.



More information about the Gcc mailing list