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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:26:19 +0000 (14:26 +0100)
commit4a464a66db6d574dd622b5218ca617da41461149
tree2943dfeed6df053f16879b131d6eab3a5b76a124
parent46e6a15b40c99402aedde940f157614e0c927c7e
selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well

commit adedf2893c192dd09b1cc2f2dcfdd7cad99ec49d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/x86/ldt_gdt.c