Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 16:06:28 +0000
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f6911b941f14 - main - sys: Renumber MTE SEGV codes
Message-ID:  <6a19b984.32e7a.3d09316d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=f6911b941f142aef47479d7ec631724bff138f5c

commit f6911b941f142aef47479d7ec631724bff138f5c
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2026-05-29 15:22:29 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2026-05-29 16:06:14 +0000

    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
---
 sys/sys/signal.h | 4 ++--
 1 file 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.			*/


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a19b984.32e7a.3d09316d>