mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-06 23:02:10 +03:00
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).
This commit is contained in:
parent
30c8a1456a
commit
3dcbd89690
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user