summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 22:14:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 22:14:36 +0000
commit328d20a313449e825a0f652ee8debb8a74a65ac4 (patch)
tree22cefc39a5f0be71e4efb50ba42ae4b04e24ef9c
parent11d56ba93576e75bf08a46ebf4bd447ee1fa5aab (diff)
(netfs_S_io_reauthenticate): Don't pass right for USER to
auth_server_authenticate.
-rw-r--r--libnetfs/io-reauthenticate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libnetfs/io-reauthenticate.c b/libnetfs/io-reauthenticate.c
index e0940108..5e08f413 100644
--- a/libnetfs/io-reauthenticate.c
+++ b/libnetfs/io-reauthenticate.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -42,8 +42,6 @@ netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
mutex_lock (&user->po->np->lock);
newpi = netfs_make_protid (user->po, 0);
err = auth_server_authenticate (netfs_auth_server_port,
- ports_get_right (user),
- MACH_MSG_TYPE_MAKE_SEND,
rend_port,
MACH_MSG_TYPE_MOVE_SEND,
ports_get_right (newpi),
@@ -68,7 +66,7 @@ netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
if (gen_gids != ggbuf)
vm_deallocate (mach_task_self (), (vm_address_t) gen_gids,
gengidlen * sizeof (uid_t));
- if (aux_gids != aubuf)
+ if (aux_gids != agbuf)
vm_deallocate (mach_task_self (), (vm_address_t) aux_gids,
auxgidlen * sizeof (uid_t));
return 0;