diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-01-06 18:23:00 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-01-06 18:23:00 +0000 |
commit | 3016596a819aeedfdc7d658435016be413a1fca7 (patch) | |
tree | 14e8b3bb9984d96d35ea080930f7ce7c8a093284 | |
parent | ecdb06cdf22c7d37699f5420265245ff31c53b3c (diff) | |
download | glibc-3016596a819aeedfdc7d658435016be413a1fca7.zip glibc-3016596a819aeedfdc7d658435016be413a1fca7.tar.gz glibc-3016596a819aeedfdc7d658435016be413a1fca7.tar.bz2 |
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.h | 6 |
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 3bbe04b..4803327 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. */ |