From b24812dce9062559ab2b9a3d07505d9985ccc83a Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Wed, 26 May 2021 17:25:33 +0300 Subject: libfshelp: Update some comments --- libfshelp/start-translator-long.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libfshelp/start-translator-long.c') 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, -- cgit v1.2.3