Thread (62 messages) 62 messages, 5 authors, 2021-08-21

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

From: Yu, Yu-cheng <hidden>
Date: 2021-08-10 16:07:16
Also in: linux-arch, linux-doc, linux-mm, lkml

On 8/9/2021 10:51 AM, Borislav Petkov wrote:
On Thu, Jul 22, 2021 at 01:51:53PM -0700, Yu-cheng Yu wrote:
[...]
quoted
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@intel.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help