public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add SEGV_CPERR from Linux 6.6 to bits/siginfo-consts.h
@ 2023-11-03 16:36 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2023-11-03 16:36 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ac79930498d1fa8a85f367c8e21cd2abbfa5bebb

commit ac79930498d1fa8a85f367c8e21cd2abbfa5bebb
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Nov 3 16:36:35 2023 +0000

    Add SEGV_CPERR from Linux 6.6 to bits/siginfo-consts.h
    
    Linux 6.6 adds the constant SEGV_CPERR.  Add it to glibc's
    bits/siginfo-consts.h.
    
    Tested for x86_64.

Diff:
---
 sysdeps/unix/sysv/linux/bits/siginfo-consts.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h
index 49f7744739..2236def72c 100644
--- a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h
+++ b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h
@@ -134,8 +134,10 @@ enum
 #  define SEGV_ADIPERR	SEGV_ADIPERR
   SEGV_MTEAERR,			/* Asynchronous ARM MTE error.  */
 #  define SEGV_MTEAERR	SEGV_MTEAERR
-  SEGV_MTESERR			/* Synchronous ARM MTE exception.  */
+  SEGV_MTESERR,			/* Synchronous ARM MTE exception.  */
 #  define SEGV_MTESERR	SEGV_MTESERR
+  SEGV_CPERR			/* Control protection fault.  */
+#  define SEGV_CPERR	SEGV_CPERR
 };
 
 /* `si_code' values for SIGBUS signal.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-03 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03 16:36 [glibc] Add SEGV_CPERR from Linux 6.6 to bits/siginfo-consts.h Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).