summaryrefslogtreecommitdiff
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2009-07-14 22:52:46 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2009-07-14 22:52:46 +0000
commitf33a947b56e0667c6e1e3384d00ffb1a5b67060e (patch)
treeb51305b6f0c522d37eac747f4cbb29242078546b /sys/kern/subr_trap.c
parent79799053a79ee5bb0446bcf61312caea774c2a14 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 0f4636e876c7..6d60ddbe460d 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -221,7 +221,7 @@ ast(struct trapframe *framep)
if (flags & TDF_NEEDSIGCHK) {
PROC_LOCK(p);
mtx_lock(&p->p_sigacts->ps_mtx);
- while ((sig = cursig(td)) != 0)
+ while ((sig = cursig(td, SIG_STOP_ALLOWED)) != 0)
postsig(sig);
mtx_unlock(&p->p_sigacts->ps_mtx);
PROC_UNLOCK(p);