summaryrefslogtreecommitdiff
path: root/libfshelp/start-translator-long.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfshelp/start-translator-long.c')
-rw-r--r--libfshelp/start-translator-long.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c
index 3a0a115b..1df5d57b 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -300,7 +300,10 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
if (err)
goto lose_task;
- /* Ask to be told if TASK dies. */
+ /* Ask to be told if TASK dies. It is OK to use the same port here, since we
+ never give it out to anyone but the translator itself (and the file system,
+ and the exec server). If the translator wants us to believe it has died,
+ so be it. */
err =
mach_port_request_notification(mach_task_self(),
bootstrap, MACH_NOTIFY_NO_SENDERS, 0,