From 44d36fa80bb9b199695f6e141430694d945555e9 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 15 Aug 1994 20:36:58 +0000 Subject: entered into RCS --- proc/notify.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'proc') diff --git a/proc/notify.c b/proc/notify.c index 45d6c6c0..7aee6e4b 100644 --- a/proc/notify.c +++ b/proc/notify.c @@ -34,12 +34,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* We ask for dead name notifications to detect when tasks and message ports die. Both notifications get sent to the process - port. */ + port. */ kern_return_t do_mach_notify_dead_name (mach_port_t notify, mach_port_t deadport) { - struct proc *p = reqport_find (notify); + struct proc *p; + + if (notify == generic_port) + { + check_dead_execdata_notify (deadport); + return 0; + } + + p = reqport_find (notify); if (!p) return EOPNOTSUPP; -- cgit v1.2.3