public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/lld] Add SEGV_MTEAERR and SEGV_MTESERR from Linux 5.10.
@ 2021-01-18 21:39 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-01-18 21:39 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3016596a819aeedfdc7d658435016be413a1fca7
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jan 6 18:23:00 2021 +0000

    Add SEGV_MTEAERR and SEGV_MTESERR from Linux 5.10.
    
    Linux 5.10 adds constants SEGV_MTEAERR and SEGV_MTESERR to
    asm-generic/siginfo.h.  Add these to glibc's bits/siginfo-consts.h.
    
    Tested for x86_64.

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

diff --git a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h
index 3bbe04b941..48033278b3 100644
--- a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h
+++ b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h
@@ -130,8 +130,12 @@ enum
 #  define SEGV_ACCADI	SEGV_ACCADI
   SEGV_ADIDERR,			/* Disrupting MCD error.  */
 #  define SEGV_ADIDERR	SEGV_ADIDERR
-  SEGV_ADIPERR			/* Precise MCD exception.  */
+  SEGV_ADIPERR,			/* Precise MCD exception.  */
 #  define SEGV_ADIPERR	SEGV_ADIPERR
+  SEGV_MTEAERR,			/* Asynchronous ARM MTE error.  */
+#  define SEGV_MTEAERR	SEGV_MTEAERR
+  SEGV_MTESERR			/* Synchronous ARM MTE exception.  */
+#  define SEGV_MTESERR	SEGV_MTESERR
 };
 
 /* `si_code' values for SIGBUS signal.  */


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

only message in thread, other threads:[~2021-01-18 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 21:39 [glibc/maskray/lld] Add SEGV_MTEAERR and SEGV_MTESERR from Linux 5.10 Fangrui Song

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).