From 3f9d1b0c94a7d13a7d293a9825affdcc87c18702 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 24 May 1996 19:50:09 +0000 Subject: (process_has_exited): Don't call alert_parent if P->p_task is null (which happens only if this is the stub process in proc_reassign). This because the parent is uninvolved in the death of stubp. --- proc/mgt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proc/mgt.c') diff --git a/proc/mgt.c b/proc/mgt.c index 36921f53..8a2bfe4e 100644 --- a/proc/mgt.c +++ b/proc/mgt.c @@ -642,7 +642,8 @@ process_has_exited (struct proc *p) return; p->p_waited = 0; - alert_parent (p); + if (p->p_task != MACH_PORT_NULL) + alert_parent (p); if (p->p_msgport) mach_port_deallocate (mach_task_self (), p->p_msgport); -- cgit v1.2.3