summaryrefslogtreecommitdiff
path: root/utils/frobauth-mod.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>2000-03-17 17:26:36 +0000
committerThomas Bushnell <thomas@gnu.org>2000-03-17 17:26:36 +0000
commit0d74b8eb06950f1e784f298d5a29568c5990e701 (patch)
treeec6674c9a8a6af86938a05ef7c96e245a5ebdc5e /utils/frobauth-mod.c
parent166c15f084adc62b6d0411dca9f65928aee479b7 (diff)
2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
* frobauth-mod.c (frobauth_modify): Don't use MOVE_SEND in Hurd RPC. * msgport.c (do_setfd, cmd_chcwdir, cmd_cdroot, cmd_chcrdir): Likewise.
Diffstat (limited to 'utils/frobauth-mod.c')
-rw-r--r--utils/frobauth-mod.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/frobauth-mod.c b/utils/frobauth-mod.c
index 06ccdbfa..4464c18c 100644
--- a/utils/frobauth-mod.c
+++ b/utils/frobauth-mod.c
@@ -1,6 +1,6 @@
/* Modify the current authentication selected processes
- Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
This file is part of the GNU Hurd.
@@ -126,7 +126,9 @@ frobauth_modify (struct frobauth *frobauth,
msg_set_init_port (msgport, task,
INIT_PORT_AUTH,
new_auth,
- MACH_MSG_TYPE_MOVE_SEND);
+ MACH_MSG_TYPE_COPY_SEND);
+ mach_port_deallocate (mach_task_self (),
+ new_auth);
if (err)
error (0, err, "%d", pid);
}