Skip to content

sigaction.2: Updates for SEGV_CPERR

Yu-cheng Yu linux-api linux-man lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sigaction.2: Add SEGV_CPERRman2/sigaction.2+3 -00 replies
2/2sigaction.2: wfix - Clarify si_addr description.man2/sigaction.2+6 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] sigaction.2: Updates for SEGV_CPERR

Control-flow Enforcement [1] [2] introduces a new control-protection fault, which is triggered by a branch instruction (call, ret, or jmp) violating branch-enforcement rules. When the signal is delivered, si_code is set to SEGV_CPERR. Add the code to sigaction.2, and while at it, clarify when si_addr is set.

[1] Intel 64 and IA-32 Architectures Software Developer's Manual:

    https://software.intel.com/en-us/download/intel-64-and-ia-32-
    architectures-sdm-combined-volumes-1-2a-2b-2c-2d-3a-3b-3c-3d-and-4

[2] CET Shadow Stack patches v21:

    https://lkml.kernel.org/r/[email protected]/
    https://lkml.kernel.org/r/[email protected]/

Yu-cheng Yu (2):
sigaction.2: Add SEGV_CPERR
sigaction.2: wfix - Clarify si_addr description.

 man2/sigaction.2 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
2.21.0