Skip to content

Minor selftests improvements

Andy Lutomirski lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5selftests/x86/protection_keys: Fix syscall NR redefinition warningstools/testing/selftests/x86/protection_keys.c+18 -60 replies
2/5selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR odditiestools/testing/selftests/x86/ldt_gdt.c+9 -10 replies
3/5selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()tools/testing/selftests/x86/ldt_gdt.c+37 -160 replies
4/5selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as welltools/testing/selftests/x86/ldt_gdt.c+9 -10 replies
5/5selftests/x86/ldt_get: Add a few additional tests for limitstools/testing/selftests/x86/ldt_gdt.c+16 -10 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] Minor selftests improvements

This improves and robustifies the ldt_gdt test and fixes compiler warnings in the protection_keys test.

Andy Lutomirski (5):
selftests/x86/protection_keys: Fix syscall NR redefinition warnings selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR
oddities
selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area() selftests/x86/ldt_gdt: Run most existing LDT test cases against the
GDT as well
selftests/x86/ldt_get: Add a few additional tests for limits

 tools/testing/selftests/x86/ldt_gdt.c         | 88 +++++++++++++++++++++------
 tools/testing/selftests/x86/protection_keys.c | 24 ++++++--
 2 files changed, 88 insertions(+), 24 deletions(-)
Signature · 1 line
2.13.6