diff options
author | cracauer <cracauer@FreeBSD.org> | 1999-08-23 13:53:25 +0000 |
---|---|---|
committer | cracauer <cracauer@FreeBSD.org> | 1999-08-23 13:53:25 +0000 |
commit | 4920857850cfb319f535f0ee9cd7f60a268a191f (patch) | |
tree | 0fd607b8434f48def75c155a3eb0d2e8798efa9f /sys/kern | |
parent | 05f20638ad9a2fe22e800bf8f9f964db1fd7528a (diff) | |
download | FreeBSD-src-4920857850cfb319f535f0ee9cd7f60a268a191f.zip FreeBSD-src-4920857850cfb319f535f0ee9cd7f60a268a191f.tar.gz |
Fix a mistake in my last SA_SIGINFO commit. Processes could block
SIGKILL and SIGSTOP.
PR: kern/13293
Submitted by: dwmalone@maths.tcd.ie
Obtained from: PR had correct fix
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_sig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 4d7edeb..0b4a89c 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_sig.c 8.7 (Berkeley) 4/18/94 - * $Id: kern_sig.c,v 1.59 1999/08/14 19:58:58 alfred Exp $ + * $Id: kern_sig.c,v 1.60 1999/08/16 18:13:38 billf Exp $ */ #include "opt_compat.h" @@ -157,7 +157,7 @@ sigaction(p, uap) sizeof (vec)))) return (error); if ((signum == SIGKILL || signum == SIGSTOP) && - ps->ps_sigact[signum] != SIG_DFL) + sa->sa_handler != SIG_DFL) return (EINVAL); setsigvec(p, signum, sa); } |