diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2026-05-29 15:22:29 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2026-05-29 16:06:14 +0000 |
| commit | f6911b941f142aef47479d7ec631724bff138f5c (patch) | |
| tree | feb1aff306612c86f1f1cc229f03ca8fda0a0cdc | |
| parent | 851499046d25fbe5841a55fb7bfcc879522f59a8 (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.h | 4 |
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. */ |
