Re: non random mmap
Hi,
Basile STARYNKEVITCH wrote:
>
> I have an AMD64x2 4400 using Debian/Sid/AMD64
> I have a self built 2.6.16.18 kernel.
>
> I want to have the mmap system call behaving predictably and in a
> reproducable manner (because I am debugging a copying garbage collector).
The best way to do so it to execute the following command:
echo 0 > /proc/sys/kernel/randomize_va_space
It will disable the ASLR (Address-Space Layout Randomization).
Then the layout of the memory will behave deterministically.
Regards
--
Emmanuel Fleury | Office: 211
Associate Professor, | Phone: +33 (0)5 40 00 35 24
LaBRI, Domaine Universitaire | Fax: +33 (0)5 40 00 66 69
351, Cours de la Libération | email: fleury@labri.fr
33405 Talence Cedex, France | URL: http://www.labri.fr/~fleury
Reply to: