From: Alan Cox Date: Mon, 18 May 2015 22:12:13 +0000 (+0100) Subject: proc: allow kill to accept all 32 signals X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b9cc7bdb9a529d278e89806cc440deb1eea10512;p=FUZIX.git proc: allow kill to accept all 32 signals --- diff --git a/Kernel/syscall_proc.c b/Kernel/syscall_proc.c index 220dbbc3..e3244d6d 100644 --- a/Kernel/syscall_proc.c +++ b/Kernel/syscall_proc.c @@ -489,7 +489,7 @@ arg_t _kill(void) ptptr p; int f = 0, s = 0; - if (sig < 0 || sig > 15) { + if (sig < 0 || sig >= NSIGS) { udata.u_error = EINVAL; return (-1); }