projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
30c8a14
)
signal.h: add si_code values for SIGSYS
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 7 Mar 2021 22:15:11 +0000
(22:15 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 8 Mar 2022 22:19:46 +0000
(17:19 -0500)
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
patch
|
blob
|
history
diff --git
a/include/signal.h
b/include/signal.h
index
f270a59
..
4dd4614
100644
(file)
--- 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