linux/Documentation/arch
Rick Edgecombe 67840ad0fa x86/shstk: Add ARCH_SHSTK_STATUS
CRIU and GDB need to get the current shadow stack and WRSS enablement
status. This information is already available via /proc/pid/status, but
this is inconvenient for CRIU because it involves parsing the text output
in an area of the code where this is difficult. Provide a status
arch_prctl(), ARCH_SHSTK_STATUS for retrieving the status. Have arg2 be a
userspace address, and make the new arch_prctl simply copy the features
out to userspace.

Suggested-by: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
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-43-rick.p.edgecombe%40intel.com
2023-08-02 15:01:51 -07:00
..
arc
arm arm: docs: Move Arm documentation to Documentation/arch/ 2023-06-12 06:33:40 -06:00
arm64 ARM64: 2023-07-03 15:32:22 -07:00
ia64
m68k
nios2
openrisc
parisc
sh
sparc
x86 x86/shstk: Add ARCH_SHSTK_STATUS 2023-08-02 15:01:51 -07:00
xtensa
index.rst docs: arm64: Move arm64 documentation under Documentation/arch/ 2023-06-21 08:51:51 -06:00