On Tue, 2006-01-03 at 14:51 -0500, Diego Novillo wrote:
> On Tuesday 03 January 2006 14:47, Andrew Haley wrote:
> 
> > Please, post instructions about how to turn on the old style VM layout
> > in the kernel.  Sooner or later, many of us on this list will need to
> > know...
> >
> Adding this to /etc/sysctl.conf works for me:
> 
> # Do not randomize memory addresses
> kernel.randomize_va_space = 0
> 
> After that, run 'sysctl -p' as root to update the kernel without rebooting.
No, this is not sufficient. 

You also need to:

/sbin/sysctl -w vm.legacy_va_layout=1

Otherwise you still get randomizations.

Jeff


Reply via email to