]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/x86/fsgsbase: Test ptracer-induced GS base write with FSGSBASE
authorChang S. Bae <chang.seok.bae@intel.com>
Thu, 28 May 2020 20:14:02 +0000 (16:14 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jun 2020 13:47:07 +0000 (15:47 +0200)
commit7042a01b6a7b7b6419b0c8d31c9694765ff4a082
tree0407472ec5427172839114e37fcb812b19478a2b
parent72751628a0dfa5984240154e7228c9efd043e712
selftests/x86/fsgsbase: Test ptracer-induced GS base write with FSGSBASE

This validates that GS selector and base are independently preserved in
ptrace commands.

Suggested-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20200528201402.1708239-17-sashal@kernel.org
tools/testing/selftests/x86/fsgsbase.c