um: implement a x86_64 vDSO
Until now UML had no x86_64 vDSO. So glibc always used the vsyscall page for gettimeday() and friends. Calls to gettimeday() returned falsely the host time and confused some programs. This patch adds a vDSO which turns all __vdso_* calls into a system call so that UML can trap them. As glibc still uses the vsyscall page for static binaries this patch improves the situation only for dynamic binaries. Signed-off-by: NRichard Weinberger <richard@nod.at> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
arch/um/sys-x86_64/vdso/Makefile
0 → 100644
arch/um/sys-x86_64/vdso/um_vdso.c
0 → 100644
arch/um/sys-x86_64/vdso/vdso.S
0 → 100644
arch/um/sys-x86_64/vdso/vma.c
0 → 100644
想要评论请 注册 或 登录