proc: allow kill to accept all 32 signals
authorAlan Cox <alan@linux.intel.com>
Mon, 18 May 2015 22:12:13 +0000 (23:12 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 18 May 2015 22:12:13 +0000 (23:12 +0100)
Kernel/syscall_proc.c

index 220dbbc..e3244d6 100644 (file)
@@ -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);
        }