summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 17:05:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 17:05:14 +0000
commit5089db537a556919936d46d559bbf279c1277830 (patch)
treef7a099d423e48c5203d83975a2b0e090670a834c /sys/kern/kern_sig.c
parent1c11e200d6d38ba748d164128495d527866cf390 (diff)
on exec, clear P_NOCLDWAIT; ambrisko@whistle.com
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 515d21fa8ef..0ec5566a79e 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.33 1999/02/26 05:10:40 art Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.34 1999/07/18 17:05:13 deraadt Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -329,6 +329,7 @@ execsigs(p)
ps->ps_sigstk.ss_size = 0;
ps->ps_sigstk.ss_sp = 0;
ps->ps_flags = 0;
+ p->p_flag &= ~P_NOCLDWAIT;
}
/*