我有两台相同的机器,ASLR 设置为 0。它们运行相同的可执行文件。它们之间的 vDSO 区域大小并不相同。这会导致其他地区发生变化。为什么尺寸不一样?
机器1
00400000-00401000 r--p 00000000 ca:01 256227 /home/ubuntu/pm/pm-pro
00401000-00482000 r-xp 00001000 ca:01 256227 /home/ubuntu/pm/pm-pro
00482000-004a8000 r--p 00082000 ca:01 256227 /home/ubuntu/pm/pm-pro
004a9000-004ac000 r--p 000a8000 ca:01 256227 /home/ubuntu/pm/pm-pro
004ac000-004af000 rw-p 000ab000 ca:01 256227 /home/ubuntu/pm/pm-pro
004af000-004d3000 rw-p 00000000 00:00 0 [heap]
7ffff7ffa000-7ffff7ffd000 r--p 00000000 00:00 0 [vvar]
7ffff7ffd000-7ffff7fff000 r-xp 00000000 00:00 0 [vdso]
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
机器2
00400000-00401000 r--p 00000000 ca:01 293324 /home/ubuntu/pm/pm-pro
00401000-00482000 r-xp 00001000 ca:01 293324 /home/ubuntu/pm/pm-pro
00482000-004a8000 r--p 00082000 ca:01 293324 /home/ubuntu/pm/pm-pro
004a9000-004ac000 r--p 000a8000 ca:01 293324 /home/ubuntu/pm/pm-pro
004ac000-004af000 rw-p 000ab000 ca:01 293324 /home/ubuntu/pm/pm-pro
004af000-004d3000 rw-p 00000000 00:00 0 [heap]
7ffff7ffb000-7ffff7ffe000 r--p 00000000 00:00 0 [vvar]
7ffff7ffe000-7ffff7fff000 r-xp 00000000 00:00 0 [vdso]
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]