aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2021-01-06 18:23:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2021-01-06 18:23:00 +0000
commit3016596a819aeedfdc7d658435016be413a1fca7 (patch)
tree14e8b3bb9984d96d35ea080930f7ce7c8a093284
parentecdb06cdf22c7d37699f5420265245ff31c53b3c (diff)
downloadglibc-3016596a819aeedfdc7d658435016be413a1fca7.tar
glibc-3016596a819aeedfdc7d658435016be413a1fca7.tar.gz
glibc-3016596a819aeedfdc7d658435016be413a1fca7.tar.bz2
glibc-3016596a819aeedfdc7d658435016be413a1fca7.zip
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.
-rw-r--r--sysdeps/unix/sysv/linux/bits/siginfo-consts.h6
1 files changed, 5 insertions, 1 deletions
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. */