From 4f8655657b7afd3628283be6bcb114806423cd32 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 12 Mar 2000 08:53:12 +0000 Subject: 2000-03-12 Roland McGrath * mgt.c (allocate_proc): Don't do mach_port_request_notification here. (proc_death_notify): New function, do it here instead. (complete_proc): Call proc_death_notify. * main.c (main): Call proc_death_notify on STARTUP_PROC after we have set its task port. * proc.h: Declare proc_death_notify. --- proc/proc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proc/proc.h') diff --git a/proc/proc.h b/proc/proc.h index 0022b132..1344df03 100644 --- a/proc/proc.h +++ b/proc/proc.h @@ -192,6 +192,7 @@ int pidfree (pid_t); struct proc *create_startup_proc (void); struct proc *allocate_proc (task_t); +void proc_death_notify (struct proc *); void complete_proc (struct proc *, pid_t); void leave_pgrp (struct proc *); -- cgit v1.2.3