diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-08 01:21:04 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-08 01:21:04 +0000 |
commit | 26b644d0de824599589e5d8566126497acb1a7d2 (patch) | |
tree | 35406dd7952d8033f873574e15377aca90303a69 /libdiskfs | |
parent | 418808127512d3e02d11ef0ea5a25444a9a7c7cc (diff) |
(diskfs_S_fsys_init): Don't use unsafe MOVE_SEND in call to exec_init.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/boot-start.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |