summaryrefslogtreecommitdiff
path: root/proc/notify.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-15 20:36:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-15 20:36:58 +0000
commit44d36fa80bb9b199695f6e141430694d945555e9 (patch)
treea7bf5413f9e891850032ff9d9998a41159cc9c13 /proc/notify.c
parent48e13cd1354e2737b750a0d23beb1e2519a79d8f (diff)
entered into RCS
Diffstat (limited to 'proc/notify.c')
-rw-r--r--proc/notify.c12
1 files changed, 10 insertions, 2 deletions
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;