Re: [PATCH v28 06/32] x86/cet: Add control-protection fault handler

From: Yu, Yu-cheng
Date: Tue Aug 10 2021 - 12:07:16 EST


On 8/9/2021 10:51 AM, Borislav Petkov wrote:
On Thu, Jul 22, 2021 at 01:51:53PM -0700, Yu-cheng Yu wrote:
[...]
diff --git a/include/uapi/asm-generic/siginfo.h b/include/uapi/asm-generic/siginfo.h
index 5a3c221f4c9d..a1a153ea3cc3 100644
--- a/include/uapi/asm-generic/siginfo.h
+++ b/include/uapi/asm-generic/siginfo.h
@@ -235,7 +235,8 @@ typedef struct siginfo {
#define SEGV_ADIPERR 7 /* Precise MCD exception */
#define SEGV_MTEAERR 8 /* Asynchronous ARM MTE error */
#define SEGV_MTESERR 9 /* Synchronous ARM MTE exception */
-#define NSIGSEGV 9
+#define SEGV_CPERR 10 /* Control protection fault */
+#define NSIGSEGV 10
/*
* SIGBUS si_codes
--

Was there a manpage patch for the user-visible bits?

I seem to remember something flying by very vaguely ...


Yes, man page patches:

https://lore.kernel.org/linux-man/20210226172634.26905-1-yu-cheng.yu@xxxxxxxxx/