aboutsummaryrefslogtreecommitdiff
path: root/libfshelp/start-translator-long.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-05-26 17:25:33 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:13:20 +0200
commitb24812dce9062559ab2b9a3d07505d9985ccc83a (patch)
tree04282e30d44c918bc9c729940fffe0a8407e1aee /libfshelp/start-translator-long.c
parentb948c942539d47fb91a28dd085a028f3116b70c4 (diff)
downloadhurd-b24812dce9062559ab2b9a3d07505d9985ccc83a.tar.gz
hurd-b24812dce9062559ab2b9a3d07505d9985ccc83a.tar.bz2
hurd-b24812dce9062559ab2b9a3d07505d9985ccc83a.zip
libfshelp: Update some comments
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,