From ed1d3f38812f06fcc85ff3fc60785b2193fa08a5 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 17 Mar 2000 17:21:02 +0000 Subject: 2000-03-17 Thomas Bushnell, BSG * boot-start.c (diskfs_S_fsys_init, diskfs_start_bootstrap): Don't use MOVE_SEND in Hurd RPC. * file-exec.c (diskfs_S_file_exec): Don't use MAKE_SEND in Hurd RPC. * init-startup.c (diskfs_startup_diskfs, _diskfs_init_completed): Likewise. --- libdiskfs/boot-start.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libdiskfs/boot-start.c') diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index 2b357541..829994d1 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -181,7 +181,8 @@ diskfs_start_bootstrap () assert (retry_name[0] == '\0'); assert (execnode != MACH_PORT_NULL); err = file_set_translator (execnode, 0, FS_TRANS_SET, 0, 0, 0, - diskfs_exec_ctl, MACH_MSG_TYPE_MOVE_SEND); + diskfs_exec_ctl, MACH_MSG_TYPE_COPY_SEND); + mach_port_deallocate (mach_task_self (), diskfs_exec_ctl); mach_port_deallocate (mach_task_self (), execnode); assert_perror (err); } @@ -546,8 +547,9 @@ diskfs_S_fsys_init (mach_port_t port, RPC of its own, as init would have sent it. */ err = task_get_bootstrap_port (mach_task_self (), &bootstrap); assert_perror (err); - err = fsys_init (bootstrap, parent_proc, MACH_MSG_TYPE_MOVE_SEND, + err = fsys_init (bootstrap, parent_proc, MACH_MSG_TYPE_COPY_SEND, authhandle); + mach_port_deallocate (mach_task_self (), parent_proc); mach_port_deallocate (mach_task_self (), bootstrap); assert_perror (err); } -- cgit v1.2.3