Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
+ tools/testing/selftests/x86/Makefile | 2
tools/testing/selftests/x86/test_vsyscall.c | 500 ++++++++++++++++++++++++++++
- 1 file changed, 500 insertions(+)
+ 2 files changed, 501 insertions(+), 1 deletion(-)
+--- a/tools/testing/selftests/x86/Makefile
++++ b/tools/testing/selftests/x86/Makefile
+@@ -6,7 +6,7 @@ include ../lib.mk
+
+ TARGETS_C_BOTHBITS := single_step_syscall sysret_ss_attrs syscall_nt ptrace_syscall test_mremap_vdso \
+ check_initial_reg_state sigreturn ldt_gdt iopl mpx-mini-test \
+- protection_keys
++ protection_keys test_vsyscall
+ TARGETS_C_32BIT_ONLY := entry_from_vm86 syscall_arg_fault test_syscall_vdso unwind_vdso \
+ test_FCMOV test_FCOMI test_FISTTP \
+ vdso_restorer
--- /dev/null
+++ b/tools/testing/selftests/x86/test_vsyscall.c
@@ -0,0 +1,500 @@