summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-29 16:53:13 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-29 16:53:13 +0000
commitf27578b3fba5a6926f3694d8660871d89d9bf663 (patch)
treea3c5bbbca40025a5487b5b3423e3c5895d91e6f0 /proc
parent4a4f1e38a350098b9802fc73e4adeb1381a7c94f (diff)
Formerly mgt.c.~18~
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 9297859d..ce9567ab 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -81,7 +81,7 @@ check_uid (struct proc *p, uid_t uid)
/* Implement proc_reathenticate as described in <hurd/proc.defs>. */
kern_return_t
-S_proc_reauthenticate (struct proc *p, int id)
+S_proc_reauthenticate (struct proc *p, mach_port_t rendport)
{
error_t err;
uid_t gubuf[50], aubuf[50], ggbuf[50], agbuf[50];
@@ -97,7 +97,8 @@ S_proc_reauthenticate (struct proc *p, int id)
ngen_gids = naux_gids = 50;
err = auth_server_authenticate (authserver, p->p_reqport,
- MACH_MSG_TYPE_MAKE_SEND, id,
+ MACH_MSG_TYPE_MAKE_SEND,
+ rendport, MACH_MSG_TYPE_MOVE_SEND,
MACH_PORT_NULL, MACH_MSG_TYPE_COPY_SEND,
&gen_uids, &ngen_uids,
&aux_uids, &naux_uids,