summaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>2000-03-17 17:19:38 +0000
committerThomas Bushnell <thomas@gnu.org>2000-03-17 17:19:38 +0000
commit216a7062272363a9e476d216467f1e6ffd5aed49 (patch)
treeb02dea26e95345ee4dfe88923f352f7f5e2f7c6e /exec/exec.c
parent146baae9487e0cf6f837690f2134c741233a6d36 (diff)
2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
* main.c (S_exec_init): Don't use MOVE_SEND in Hurd RPC.
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c1
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