signal.h: add SYS_USER_DISPATCH si_code value from linux v5.11
authorSzabolcs Nagy <nsz@port70.net>
Sun, 7 Mar 2021 22:20:54 +0000 (22:20 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 8 Mar 2022 22:19:48 +0000 (17:19 -0500)
see

  linux commit 1d7637d89cfce54a4f4a41c2325288c2f47470e8
  signal: Expose SYS_USER_DISPATCH si_code type

include/signal.h

index 4dd4614..af940cc 100644 (file)
@@ -263,6 +263,7 @@ void (*sigset(int, void (*)(int)))(int);
 typedef void (*sig_t)(int);
 
 #define SYS_SECCOMP 1
+#define SYS_USER_DISPATCH 2
 #endif
 
 #ifdef _GNU_SOURCE