---
startup/startup.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/startup/startup.c b/startup/startup.c
index 9faeb462..78d69103 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -368,6 +368,10 @@ record_essential_task (const char *name, task_t task)
/* Dead-name notification on the task port will tell us when it dies. */
request_dead_name (task);
+ /* Make task a child of startup */
+ if (task != mach_task_self () && task != proctask)
+ proc_child (procserver, task);
+
#if 0
/* Taking over the exception port will give us a better chance
if the task tries to get wedged on a fault. */
--
2.31.0