linux-stable/Documentation/arch
Mike Rapoport 680ed2f15e x86/shstk: Add ARCH_SHSTK_UNLOCK
Userspace loaders may lock features before a CRIU restore operation has
the chance to set them to whatever state is required by the process
being restored. Allow a way for CRIU to unlock features. Add it as an
arch_prctl() like the other shadow stack operations, but restrict it being
called by the ptrace arch_pctl() interface.

[Merged into recent API changes, added commit log and docs]

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
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>
Reviewed-by: David Hildenbrand <david@redhat.com>
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-42-rick.p.edgecombe%40intel.com
2023-08-02 15:01:51 -07:00
..
arc docs: Move arc architecture docs under Documentation/arch/ 2023-04-10 16:45:36 -06:00
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 docs: move ia64 architecture docs under Documentation/arch/ 2023-04-10 16:45:52 -06:00
m68k docs: move m68k architecture documentation under Documentation/arch/ 2023-04-10 16:46:11 -06:00
nios2 docs: move nios2 documentation under Documentation/arch/ 2023-03-30 13:00:55 -06:00
openrisc docs: move openrisc documentation under Documentation/arch/ 2023-03-30 13:00:35 -06:00
parisc docs: move parisc documentation under Documentation/arch/ 2023-04-10 16:45:52 -06:00
sh docs: move superh documentation under Documentation/arch/ 2023-03-30 13:00:35 -06:00
sparc docs: move sparc documentation under Documentation/arch/ 2023-03-30 13:00:34 -06:00
x86 x86/shstk: Add ARCH_SHSTK_UNLOCK 2023-08-02 15:01:51 -07:00
xtensa docs: move xtensa documentation under Documentation/arch/ 2023-03-30 13:00:22 -06:00
index.rst docs: arm64: Move arm64 documentation under Documentation/arch/ 2023-06-21 08:51:51 -06:00