selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
authorAndy Lutomirski <luto@kernel.org>
Sat, 4 Nov 2017 11:19:51 +0000 (04:19 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Nov 2017 10:13:43 +0000 (11:13 +0100)
commitadedf2893c192dd09b1cc2f2dcfdd7cad99ec49d
treed66c9a3770417fb8d4c91bd1dee50dde427edc70
parentd744dcad39094c9187075e274d1cdef79c57c8b5
selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well

Now that the main test infrastructure supports the GDT, run tests
that will pass the kernel's GDT permission tests against the GDT.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bpetkov@suse.de>
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/686a1eda63414da38fcecc2412db8dba1ae40581.1509794321.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/testing/selftests/x86/ldt_gdt.c