diff options
Diffstat (limited to 'exec/exec.c')
-rw-r--r-- | exec/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/exec.c b/exec/exec.c index 8baeb909..a7666edf 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -1469,6 +1469,7 @@ do_exec (file_t file, if (new != MACH_PORT_NULL && reauth) { mach_port_t ref = mach_reply_port (), authed; + /* MAKE_SEND is safe here because we destroy REF ourselves. */ e.error = io_reauthenticate (new, ref, MACH_MSG_TYPE_MAKE_SEND); if (! e.error) e.error = auth_user_authenticate |