From ae43555cca2333171e6c28b5230c85422c8587a4 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 8 Jul 1996 01:30:26 +0000 Subject: (S_io_reauthenticate): Don't use unsafe MOVE_SEND in call to auth_server_authenticate. --- pflocal/io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pflocal/io.c') diff --git a/pflocal/io.c b/pflocal/io.c index 5f6348d2..bae8317d 100644 --- a/pflocal/io.c +++ b/pflocal/io.c @@ -402,10 +402,11 @@ S_io_reauthenticate (struct sock_user *user, mach_port_t rendezvous) auth_server = getauth (); err = auth_server_authenticate (auth_server, - rendezvous, MACH_MSG_TYPE_MOVE_SEND, + rendezvous, MACH_MSG_TYPE_COPY_SEND, new_user_port, MACH_MSG_TYPE_MAKE_SEND, &uids, &num_uids, &aux_uids, &num_aux_uids, &gids, &num_gids, &aux_gids, &num_aux_gids); + mach_port_deallocate (mach_task_self (), rendezvous); mach_port_deallocate (mach_task_self (), auth_server); /* Throw away the ids we went through all that trouble to get... */ -- cgit v1.2.3