vdso randomization is not working in powerpc platform (freescale-p2020ds). Its always gives 0x00100000 address. root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) root@Tom:~# ldd /usr/bin/less | grep vdso linux-vdso32.so.1 (0x00100000) This is a always even with heap randomization. root@Tom:~# cat /proc/sys/kernel/randomize_va_space 2 Same issue is also observed with powerpc-64 bit platform also. Thanks, Arnob
Works for me on 64-bit Power8 machine: $ ldd /usr/bin/less | grep vdso linux-vdso64.so.1 => (0x00003fff9b410000) $ ldd /usr/bin/less | grep vdso linux-vdso64.so.1 => (0x00003fff7d270000) $ ldd /usr/bin/less | grep vdso linux-vdso64.so.1 => (0x00003fffab350000)
See related ppc issue https://github.com/linuxppc/issues/issues/59
This was fixed in v6.1, see: https://github.com/torvalds/linux/commit/8a8f7866663588b162031a5348c24e42161461cd