linux/tools/testing/selftests/x86
Andy Lutomirski d63f4b5269 selftests/x86/ldt_gdt: Test set_thread_area() deletion of an active segment
Now that set_thread_area() is supposed to give deterministic behavior
when it modifies in-use segments, test it.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/f2bc11af1ee1a0f815ed910840cbdba06b640a20.1461698311.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-04-29 11:56:42 +02:00
..
.gitignore
Makefile selftests/x86: Test the FSBASE/GSBASE API and context switching 2016-04-13 10:20:41 +02:00
check_cc.sh selftests, x86: Rework x86 target architecture detection 2015-05-12 20:02:40 -06:00
check_initial_reg_state.c selftests/x86: Add check_initial_reg_state() 2016-01-29 09:46:37 +01:00
entry_from_vm86.c selftests/x86: Add a fork() to entry_from_vm86 to catch fork bugs 2015-10-31 09:50:25 +01:00
fsgsbase.c selftests/x86: Test the FSBASE/GSBASE API and context switching 2016-04-13 10:20:41 +02:00
iopl.c selftests/x86: Add an iopl test 2016-03-17 09:49:26 +01:00
ldt_gdt.c selftests/x86/ldt_gdt: Test set_thread_area() deletion of an active segment 2016-04-29 11:56:42 +02:00
ptrace_syscall.c selftests/x86: Add a test for syscall restart under ptrace 2016-02-17 09:51:06 +01:00
raw_syscall_helper_32.S selftests/x86: Add a test for ptrace syscall restart and arg modification 2015-10-07 11:34:07 +02:00
sigreturn.c selftests/x86: Add tests for UC_SIGCONTEXT_SS and UC_STRICT_RESTORE_SS 2016-02-17 08:32:12 +01:00
single_step_syscall.c x86, selftests: Add single_step_syscall test 2015-04-16 12:41:49 +02:00
syscall_arg_fault.c x86/entry, selftests/x86: Add a test for 32-bit fast syscall arg faults 2015-07-07 10:58:30 +02:00
syscall_nt.c selftests/x86: In syscall_nt, test NT|TF as well 2016-03-10 09:48:12 +01:00
sysret_ss_attrs.c x86, selftests: Add a test for the "sysret_ss_attrs" bug 2015-05-08 13:33:59 +02:00
test_FCMOV.c x86/fpu/math-emu, selftests: Add tests for FCMOV and FCOMI insns 2015-09-20 10:19:52 +02:00
test_FCOMI.c x86/fpu/math-emu, selftests: Add tests for FCMOV and FCOMI insns 2015-09-20 10:19:52 +02:00
test_FISTTP.c x86/fpu/math-emu, selftests: Add test for FISTTP instructions 2015-09-20 16:19:01 +02:00
test_syscall_vdso.c x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test 2015-09-18 09:40:48 +02:00
thunks.S x86, selftests: Add a test for the "sysret_ss_attrs" bug 2015-05-08 13:33:59 +02:00
thunks_32.S x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test 2015-09-18 09:40:48 +02:00
trivial_32bit_program.c selftests, x86: Rework x86 target architecture detection 2015-05-12 20:02:40 -06:00
trivial_64bit_program.c selftest, x86: fix incorrect comment 2015-05-26 15:58:41 -06:00
unwind_vdso.c selftests/x86: Style fixes for the 'unwind_vdso' test 2015-10-14 16:56:28 +02:00
vdso_restorer.c selftests/x86: Test __kernel_sigreturn and __kernel_rt_sigreturn 2016-01-13 10:34:40 +01:00