A nice canary for this is that there's no .dynamic section in vdso.so:
$ readelf --program-headers arch/x86/entry/vdso/vdso64.so
Elf file type is EXEC (Executable file)
Entry point 0x600
There are 4 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000b39 0x0000000000000b39 R E 1000
DYNAMIC 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 R 8
readelf: Error: no .dynamic section in the dynamic segment
NOTE 0x0000000000000460 0x0000000000000460 0x0000000000000460
0x000000000000003c 0x000000000000003c R 4
GNU_EH_FRAME 0x000000000000049c 0x000000000000049c 0x000000000000049c
0x000000000000003c 0x000000000000003c R 4
Section to Segment mapping:
Segment Sections...
00 .rodata .note .eh_frame_hdr .eh_frame .text .altinstructions
.altinstr_replacement
01
02 .note
03 .eh_frame_hdr
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590069
Title:
vDSO syscalls don't work on yakkety/master-next (and unstable/master)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1590069/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs