summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-11-03 13:26:15 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-11-03 13:26:15 +0000
commit6c1534a73e5b86aee3406bcbe24dab1169cddd7b (patch)
tree8bfe350f2ca6ab507001bcefffbfd985f90fd61f /sys/kern/kern_sig.c
parentb9d9d8e74c2227151d776d187ad598a5411b5bf6 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 469a20fab830..da9b64cd4004 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1053,7 +1053,7 @@ kill(td, uap)
register struct proc *p;
int error = 0;
- if ((u_int)uap->signum >= _SIG_MAXSIG)
+ if ((u_int)uap->signum > _SIG_MAXSIG)
return (EINVAL);
mtx_lock(&Giant);
@@ -1105,7 +1105,7 @@ okillpg(td, uap)
{
int error;
- if ((u_int)uap->signum >= _SIG_MAXSIG)
+ if ((u_int)uap->signum > _SIG_MAXSIG)
return (EINVAL);
mtx_lock(&Giant);
error = killpg1(td->td_proc, uap->signum, uap->pgid, 0);