diff options
| author | 1996-10-27 04:56:51 +0000 | |
|---|---|---|
| committer | 1996-10-27 04:56:51 +0000 | |
| commit | 9da797ef82cbfcce2cc49bada8cc0cafe343bb3e (patch) | |
| tree | 9b5bb1e949175d9eb3e201069559a8d325a596e3 /sys/kern/kern_sig.c | |
| parent | Allow set[gu]id() if the [gu]id we are trying to set is the saved [gu]id, (diff) | |
| download | wireguard-openbsd-9da797ef82cbfcce2cc49bada8cc0cafe343bb3e.tar.xz wireguard-openbsd-9da797ef82cbfcce2cc49bada8cc0cafe343bb3e.zip | |
Allow kill(, 0) on process groups that hold only zombies; per POSIX
Diffstat (limited to 'sys/kern/kern_sig.c')
| -rw-r--r-- | sys/kern/kern_sig.c | 3 |
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++; |
