public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce96711
)
proc: allow kill to accept all 32 signals
author
Alan Cox
<alan@linux.intel.com>
Mon, 18 May 2015 22:12:13 +0000
(23:12 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 18 May 2015 22:12:13 +0000
(23:12 +0100)
Kernel/syscall_proc.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_proc.c
b/Kernel/syscall_proc.c
index
220dbbc
..
e3244d6
100644
(file)
--- 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);
}