selftests/x86/fsgsbase: Test ptracer-induced GSBASE write with FSGSBASE
authorChang S. Bae <chang.seok.bae@intel.com>
Wed, 8 May 2019 10:02:30 +0000 (03:02 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Jun 2019 09:38:56 +0000 (11:38 +0200)
commita87730cc3acc475eff12ddde3f7d5687371b5c76
treed2f1499223715f4b96267c9899dd8d598b25cb9b
parent9ad75a0922e1533b08f3d1451bd908d19e5db41e
selftests/x86/fsgsbase: Test ptracer-induced GSBASE write with FSGSBASE

This validates that GS and GSBASE are independently preserved in
ptracer commands.

Suggested-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Link: https://lkml.kernel.org/r/1557309753-24073-16-git-send-email-chang.seok.bae@intel.com
tools/testing/selftests/x86/fsgsbase.c