From 26b644d0de824599589e5d8566126497acb1a7d2 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 8 Jul 1996 01:21:04 +0000 Subject: (diskfs_S_fsys_init): Don't use unsafe MOVE_SEND in call to exec_init. --- libdiskfs/boot-start.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdiskfs/boot-start.c') diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index 0e6a184c..9c0e0f79 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -404,7 +404,8 @@ diskfs_S_fsys_init (mach_port_t port, /* Don't start this until now so that exec is fully authenticated with proc. */ - exec_init (diskfs_exec, authhandle, execprocess, MACH_MSG_TYPE_MOVE_SEND); + exec_init (diskfs_exec, authhandle, execprocess, MACH_MSG_TYPE_COPY_SEND); + mach_port_deallocate (mach_task_self (), execprocess); /* We don't need this anymore. */ mach_port_deallocate (mach_task_self (), diskfs_exec_server_task); -- cgit v1.2.3