From b9cc7bdb9a529d278e89806cc440deb1eea10512 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 18 May 2015 23:12:13 +0100 Subject: [PATCH] proc: allow kill to accept all 32 signals --- Kernel/syscall_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.34.1