sys: Renumber MTE SEGV codes

Some third party software expects these to not conflict. As the MTE
support isn't fully in the tree, and these values aren't in a release
we can renumber them without any backwards compatibility issues.

Sponsored by:	Arm Ltd
This commit is contained in:
Andrew Turner
2026-05-29 16:22:29 +01:00
parent 851499046d
commit f6911b941f
+2 -2
View File
@@ -307,8 +307,8 @@ struct __siginfo32 {
#define SEGV_ACCERR 2 /* Invalid permissions for mapped */
/* object. */
#define SEGV_PKUERR 100 /* x86: PKU violation */
#define SEGV_MTEAERR 100 /* arm64: Asynchronous Arm MTE error */
#define SEGV_MTESERR 101 /* arm64: Synchronous Arm MTE error */
#define SEGV_MTEAERR 200 /* arm64: Asynchronous Arm MTE error */
#define SEGV_MTESERR 201 /* arm64: Synchronous Arm MTE error */
/* codes for SIGFPE */
#define FPE_INTOVF 1 /* Integer overflow. */