Jelajahi Sumber

signal.h: add MTE specific SIGSEGV codes from linux v5.10

add synchronouse and asynchronous tag check failure codes, see

  linux commit 74f1082487feb90bbf880af14beb8e29c3030c9f
  arm64: mte: Add specific SIGSEGV codes
Szabolcs Nagy 4 tahun lalu
induk
melakukan
87b8f14811
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      include/signal.h

+ 2 - 0
include/signal.h

@@ -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