This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how to turn off PIE on Fedora?
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 12 Dec 2003 21:41:37 -0500
- Subject: Re: how to turn off PIE on Fedora?
- Organization: Red Hat Canada
- References: <3FDA77E7.20202@bothner.com>
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.