This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH RFA]: Look for /proc/sys/kernel/randomize_va_space


Andreas Jaeger <aj@suse.de> writes:

> Ian Lance Taylor <ian@airs.com> writes:
> 
> > In Fedora Core 4 the file which used to be named
> > /proc/sys/kernel/exec-shield-randomize is now called
> > /proc/sys/kernel/randomize_va_space.  Apparently the name changed as
> > the functionality was taken into the mainline Linux kernel.  In
> 
> In that case we should try the official name first and then the old
> one.  I propose to change the order of files to access in your patch
> and add a note about the above.

Since these files are in /proc, and therefore are controlled entirely
by the kernel, I don't see that the order matters.  If both files
exist, then both will be meaningful.  But I can switch the order if it
seems useful.

In any case, I'll add a comment if the patch is approved.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]