summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-27 04:56:52 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-27 04:56:52 +0000
commit66e78bfe7e60a01de232231c5f38914d3d630f6e (patch)
treeb2ecb5a1d291485f4beeb7c871c9c37d2211f395
parent06374b12d7101b3b6f600db44a41fabbf0177322 (diff)
Allow kill(, 0) on process groups that hold only zombies; per POSIX
-rw-r--r--sys/kern/kern_sig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 705323047a9..6f40e88889d 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.11 1996/10/27 03:48:29 tholo Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.12 1996/10/27 04:56:51 tholo Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -466,7 +466,6 @@ killpg1(cp, signum, pgid, all)
}
for (p = pgrp->pg_members.lh_first; p != 0; p = p->p_pglist.le_next) {
if (p->p_pid <= 1 || p->p_flag & P_SYSTEM ||
- p->p_stat == SZOMB ||
!CANSIGNAL(cp, pc, p, signum))
continue;
nfound++;