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/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proc/main.c') diff --git a/proc/main.c b/proc/main.c index ced0e5a7..6d74e1de 100644 --- a/proc/main.c +++ b/proc/main.c @@ -1,5 +1,5 @@ /* Initialization of the proc server - Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999 Free Software Foundation + Copyright (C) 1993,94,95,96,97,99,2000 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -99,6 +99,7 @@ main (int argc, char **argv, char **envp) _hurd_port_set (&_hurd_ports[INIT_PORT_AUTH], authserver); mach_port_deallocate (mach_task_self (), boot); + proc_death_notify (startup_proc); add_proc_to_hash (startup_proc); /* Now that we have the task port. */ /* Set our own argv and envp locations. */ -- cgit v1.2.3