signal.h: add MTE specific SIGSEGV codes from linux v5.10
authorSzabolcs Nagy <nsz@port70.net>
Sat, 19 Dec 2020 22:12:50 +0000 (22:12 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 15 Feb 2021 14:16:06 +0000 (09:16 -0500)
add synchronouse and asynchronous tag check failure codes, see

  linux commit 74f1082487feb90bbf880af14beb8e29c3030c9f
  arm64: mte: Add specific SIGSEGV codes

include/signal.h

index 9ed929e..f270a59 100644 (file)
@@ -75,6 +75,8 @@ typedef struct sigaltstack stack_t;
 #define SEGV_ACCERR 2
 #define SEGV_BNDERR 3
 #define SEGV_PKUERR 4
+#define SEGV_MTEAERR 8
+#define SEGV_MTESERR 9
 
 #define BUS_ADRALN 1
 #define BUS_ADRERR 2