aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/fpu
diff options
context:
space:
mode:
authorGravatar Rick Edgecombe <rick.p.edgecombe@intel.com> 2023-06-12 17:11:05 -0700
committerGravatar Dave Hansen <dave.hansen@linux.intel.com> 2023-08-02 15:01:51 -0700
commit81f30337ef4f9802f732e712be8d77dd6a32abbe (patch)
tree1cb879a4fd7e930a27e37ccb7531fa07d37c464f /arch/x86/kernel/fpu
parentx86/cpufeatures: Enable CET CR4 bit for shadow stack (diff)
downloadlinux-81f30337ef4f9802f732e712be8d77dd6a32abbe.tar.gz
linux-81f30337ef4f9802f732e712be8d77dd6a32abbe.tar.bz2
linux-81f30337ef4f9802f732e712be8d77dd6a32abbe.zip
selftests/x86: Add shadow stack test
Add a simple selftest for exercising some shadow stack behavior: - map_shadow_stack syscall and pivot - Faulting in shadow stack memory - Handling shadow stack violations - GUP of shadow stack memory - mprotect() of shadow stack memory - Userfaultfd on shadow stack memory - 32 bit segmentation - Guard gap test - Ptrace test Co-developed-by: Yu-cheng Yu <yu-cheng.yu@intel.com> Signed-off-by: Yu-cheng Yu <yu-cheng.yu@intel.com> Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Mike Rapoport (IBM) <rppt@kernel.org> Tested-by: Pengfei Xu <pengfei.xu@intel.com> Tested-by: John Allen <john.allen@amd.com> Tested-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/all/20230613001108.3040476-40-rick.p.edgecombe%40intel.com
Diffstat (limited to 'arch/x86/kernel/fpu')
0 files changed, 0 insertions, 0 deletions