On 28-04-08 18:40, Rene Herman wrote:
On 28-04-08 18:36, ?? wrote:
Why would heap randomization prevent me from getting a same address?
Because in process B the heap could be placed in the region where your
1,5G map is in process A, meaning shmat needs to map elsewhere.
Looking closer, the CONFIG option keeps non-heap address-space randomization
enabled. What you want to have is:
$ cat /proc/sys/kernel/randomize_va_space
0
Set it, as root, via
# echo -n 0 >/proc/sys/kernel/randomize_va_space
Then you should (would at least) get the same addresses available each time.
Rene
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ