aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2026-05-29 15:22:29 +0000
committerAndrew Turner <andrew@FreeBSD.org>2026-05-29 16:06:14 +0000
commitf6911b941f142aef47479d7ec631724bff138f5c (patch)
treefeb1aff306612c86f1f1cc229f03ca8fda0a0cdc
parent851499046d25fbe5841a55fb7bfcc879522f59a8 (diff)
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
-rw-r--r--sys/sys/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 863b981c2b7a..792087f735a1 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -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. */