diff options
author | peter <peter@FreeBSD.org> | 2001-08-21 02:32:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-08-21 02:32:59 +0000 |
commit | 4694b279a2481f10ddcc8cd86ff0e76951aadbb3 (patch) | |
tree | 40d1cc2f5d263a610792abdef4a9830d0ec80755 /sys/kern/kern_sig.c | |
parent | d8dc7487e066d160df2e7004c8bd108e3334c4b1 (diff) | |
download | FreeBSD-src-4694b279a2481f10ddcc8cd86ff0e76951aadbb3.zip FreeBSD-src-4694b279a2481f10ddcc8cd86ff0e76951aadbb3.tar.gz |
Make COMPAT_43 optional again. XXX we need COMPAT_FBSD3 etc for this
stuff.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 4784e40..0ab24e6 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -326,11 +326,13 @@ do_sigaction(p, sig, act, oact, old) else SIGADDSET(p->p_sigcatch, sig); } +#ifdef COMPAT_43 if (ps->ps_sigact[_SIG_IDX(sig)] == SIG_IGN || ps->ps_sigact[_SIG_IDX(sig)] == SIG_DFL || !old) SIGDELSET(ps->ps_osigset, sig); else SIGADDSET(ps->ps_osigset, sig); +#endif } PROC_UNLOCK(p); return (0); |