summaryrefslogtreecommitdiff
path: root/proc/mgt.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-12-19 01:04:23 +0000
committerMiles Bader <miles@gnu.org>1995-12-19 01:04:23 +0000
commit74dd740d27d8fe4d2f9ea01c2c7d920b506a5fca (patch)
tree6325e1bea85fd6775f3584e8e399e5f1c0988af3 /proc/mgt.c
parent85d7a015ea0c440735f58a4859cf6de25b664af7 (diff)
(S_proc_reauthenticate): Don't return 0 for the new port.
Diffstat (limited to 'proc/mgt.c')
-rw-r--r--proc/mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 7f9e5f3c..89199d78 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -99,7 +99,7 @@ S_proc_reauthenticate (struct proc *p, mach_port_t rendport)
err = auth_server_authenticate (authserver, p->p_reqport,
MACH_MSG_TYPE_MAKE_SEND,
rendport, MACH_MSG_TYPE_MOVE_SEND,
- MACH_PORT_NULL, MACH_MSG_TYPE_COPY_SEND,
+ p->p_reqport, MACH_MSG_TYPE_MAKE_SEND,
&gen_uids, &ngen_uids,
&aux_uids, &naux_uids,
&gen_gids, &ngen_gids,