search for: 19a8a54b

Displaying 1 result from an estimated 1 matches for "19a8a54b".

Did you mean: 19a8a54
2020 Aug 27
0
[klibc:master] signal: Add compile-time check on signal types
...* _NSIG less than 64 * sigset_t too small for _NSIG * sa_mask not at the end of struct sigaction Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/sigaction.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c index 19a8a54b..30ef39ef 100644 --- a/usr/klibc/sigaction.c +++ b/usr/klibc/sigaction.c @@ -3,6 +3,7 @@ */ #include <signal.h> +#include <stddef.h> #include <sys/syscall.h> #include <klibc/sysconfig.h> @@ -38,6 +39,13 @@ int sigaction(int sig, const struct sigaction *act, struct s...