summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-24 03:14:39 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-24 03:14:39 +0000
commit4aaa0b5ba9c8a2ab14f213f2f87b28be26ce7181 (patch)
treecaea5f5e6c921d3cec31c9d8727b7daa463332f5 /libdiskfs
parentb10785970feeff92416ef348ef80cab5aaa3998b (diff)
Formerly boot-start.c.~21~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/boot-start.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index c252be2b..ce154ba0 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -318,11 +318,14 @@ diskfs_S_fsys_init (mach_port_t port,
assert (exectask);
err = proc_task2proc (procserver, exectask, &execprocess);
assert (!err);
- exec_init (diskfs_exec, authhandle, execprocess, MACH_MSG_TYPE_MOVE_SEND);
/* Declare that the exec server is our child. */
proc_child (procserver, exectask);
+ /* 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);
+
/* We don't need this anymore. */
mach_port_deallocate (mach_task_self (), exectask);
exectask = MACH_PORT_NULL;