[PATCH 0/3] x86/fsgsbase: Some fixes
From: Andy Lutomirski
Date: Wed Jun 24 2020 - 18:51:01 EST
The first two are trivial selftest fixes. The third one fixes an actual
regression.
Andy Lutomirski (3):
selftests/x86/fsgsbase: Fix a comment in the ptrace_write_gsbase test
selftests/x86/fsgsbase: Add a missing memory constraint
x86/ptrace: Fix 32-bit PTRACE_SETREGS vs fsbase and gsbase
arch/x86/include/asm/fsgsbase.h | 2 +
arch/x86/kernel/process_64.c | 4 +-
arch/x86/kernel/ptrace.c | 43 ++-
tools/testing/selftests/x86/Makefile | 2 +-
tools/testing/selftests/x86/fsgsbase.c | 6 +-
.../testing/selftests/x86/fsgsbase_restore.c | 245 ++++++++++++++++++
6 files changed, 284 insertions(+), 18 deletions(-)
create mode 100644 tools/testing/selftests/x86/fsgsbase_restore.c
--
2.25.4