Skip to content

selftests/x86: fixes for !CONFIG_IA32_EMULATION and vsyscall=none

Dominik Brodowski linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5selftests/x86: 5lvl test has been movedtools/testing/selftests/x86/Makefile+1 -10 replies
2/5selftests/x86: fix vDSO selftest segfault for vsyscall=nonetools/testing/selftests/x86/test_vdso.c+43 -76 replies
3/5selftests/x86: do not rely on int $0x80 in test_mremap_vdso.ctools/testing/selftests/x86/test_mremap_vdso.c+4 -00 replies
4/5selftests/x86: do not rely on int $0x80 in single_step_syscall.ctools/testing/selftests/x86/Makefile tools/testing/selftests/x86/single_step_syscall.c+6 -10 replies
5/5selftests/x86: disable tests requiring 32bit support on pure 64bit systemstools/testing/selftests/x86/Makefile+13 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] selftests/x86: fixes for !CONFIG_IA32_EMULATION and vsyscall=none

On systems with CONFIG_IA32_EMULATION disabled and vsyscall disabled, a couple of selftests fail spectacularly.

Also throw in a fix for the Makefile, which still wants to build the moved 5lvl test.

Dominik Brodowski (5):
selftests/x86: 5lvl test has been moved
selftests/x86: fix vDSO selftest segfault for vsyscall=none selftests/x86: do not rely on int $0x80 in test_mremap_vdso.c selftests/x86: do not rely on int $0x80 in single_step_syscall.c selftests/x86: disable tests requiring 32bit support on pure 64bit
systems

 tools/testing/selftests/x86/Makefile              | 24 +++++++----
 tools/testing/selftests/x86/single_step_syscall.c |  5 ++-
 tools/testing/selftests/x86/test_mremap_vdso.c    |  4 ++
 tools/testing/selftests/x86/test_vdso.c           | 50 +++++++++++++++++++----
 4 files changed, 67 insertions(+), 16 deletions(-)
Signature · 6 lines
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html