This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH RFA]: Look for /proc/sys/kernel/randomize_va_space
Andreas Jaeger <firstname.lastname@example.org> writes:
> Ian Lance Taylor <email@example.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
In any case, I'll add a comment if the patch is approved.