From 5432f5fa3e5cccb5a5af320c4a6e8fc74de88c3b Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 7 Mar 2021 22:15:11 +0000 Subject: [PATCH 06/17] signal.h: add si_code values for SIGSYS unlike other si_code defines, SYS_ is not in the posix reserved namespace which is likely the reason why SYS_SECCOMP was previously missing (was new in linux v3.5). --- include/signal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/signal.h b/include/signal.h index f270a594..4dd46142 100644 --- a/include/signal.h +++ b/include/signal.h @@ -261,6 +261,8 @@ void (*sigset(int, void (*)(int)))(int); #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define NSIG _NSIG typedef void (*sig_t)(int); + +#define SYS_SECCOMP 1 #endif #ifdef _GNU_SOURCE -- 2.31.1