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


On Sun, Jul 31, 2005 at 01:03:57PM -0700, Ian Lance Taylor wrote:
> 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.

It means one less syscall for the proper mainline kernel.


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