about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-11-03 16:36:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-11-03 16:36:35 +0000
commitac79930498d1fa8a85f367c8e21cd2abbfa5bebb (patch)
tree7b97fb3b24ddb512ffacc746a009fe8e3765a860 /sysdeps/unix/sysv/linux
parentd3476c20b29782453aa5d432a62eed4dde7d6269 (diff)
downloadglibc-ac79930498d1fa8a85f367c8e21cd2abbfa5bebb.tar.gz
glibc-ac79930498d1fa8a85f367c8e21cd2abbfa5bebb.tar.xz
glibc-ac79930498d1fa8a85f367c8e21cd2abbfa5bebb.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/bits/siginfo-consts.h4
1 files changed, 3 insertions, 1 deletions
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.  */