This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH and exec-shield...
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 02 Mar 2004 23:04:10 -0500
- Subject: Re: PCH and exec-shield...
- References: <4044DA26.2040802@avtrex.com>
David Daney <ddaney@avtrex.com> writes:
> It was pointed out to me that putting the following in my
> /etc/sysctl.conf file would fix the problems:
>
> # Turning off exec shield.
> kernel.exec-shield = 0
> kernel.exec-shield-randomize = 0
Using the gcc PCH testsuite, I just confirmed that, as expected, you
only need to set kernel.exec-shield-randomize to 0 to get the tests to
pass. The value of kernel.exec-shield is not relevant.
Ian