]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: ptrace: cfi: expand "SS" references to "shadow stack" in uapi headers
authorPaul Walmsley <pjw@kernel.org>
Sun, 5 Apr 2026 00:40:58 +0000 (18:40 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 5 Apr 2026 00:40:58 +0000 (18:40 -0600)
commite5342fe2c1bb5b4fab6ed531a0122c6417e57ecf
tree939c4ebd44a9c28a3125891eeaee3ae73f3c1645
parentadfc80dd0d7831335b5105fb3d8747094bf42878
riscv: ptrace: cfi: expand "SS" references to "shadow stack" in uapi headers

Similar to the recent change to expand "LP" to "branch landing pad",
let's expand "SS" in the ptrace uapi macros to "shadow stack" as well.
This aligns with the existing prctl() arguments, which use the
expanded "shadow stack" names, rather than just the abbreviation.

Link: https://lore.kernel.org/linux-riscv/CAHk-=whhSLGZAx3N5jJpb4GLFDqH_QvS07D+6BnkPWmCEzTAgw@mail.gmail.com/
Cc: Deepak Gupta <debug@rivosinc.com>
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/uapi/asm/ptrace.h
arch/riscv/kernel/ptrace.c
tools/testing/selftests/riscv/cfi/cfitests.c