diff options
author | Roland McGrath <roland@gnu.org> | 2002-01-02 11:21:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-01-02 11:21:41 +0000 |
commit | ec70cb7a35dc24a65b211518a442c6db9c1a97eb (patch) | |
tree | 8f8970c432247656d2658b7ed9039bd78f256de7 /init/init.c | |
parent | 2e2b07d98b44fe81e18e14b8f77f655305f99ab7 (diff) |
2002-01-02 Roland McGrath <roland@frob.com>
* init.c [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c index 7bb66460..0f87b91b 100644 --- a/init/init.c +++ b/init/init.c @@ -1,6 +1,7 @@ /* Start and maintain hurd core servers and system run state - Copyright (C) 1993,94,95,96,97,98,99,2000,01 Free Software Foundation, Inc. + Copyright (C) 1993,94,95,96,97,98,99,2000,01,02 + Free Software Foundation, Inc. This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or modify @@ -362,7 +363,11 @@ run (const char *server, mach_port_t *ports, task_t *task) error (0, errno, "%s", prog); else { - task_create (mach_task_self (), 0, task); + task_create (mach_task_self (), +#ifdef KERN_INVALID_LEDGER + NULL, 0, /* OSF Mach */ +#endif + 0, task); if (bootstrap_args & RB_KDB) { printf ("Pausing for %s\n", prog); @@ -434,7 +439,11 @@ run_for_real (char *filename, char *args, int arglen, mach_port_t ctty, } #endif - task_create (mach_task_self (), 0, &task); + task_create (mach_task_self (), +#ifdef KERN_INVALID_LEDGER + NULL, 0, /* OSF Mach */ +#endif + 0, &task); proc_child (procserver, task); proc_task2pid (procserver, task, &pid); proc_task2proc (procserver, task, &default_ports[INIT_PORT_PROC]); @@ -1027,7 +1036,11 @@ start_child (const char *prog, char **progargs) return -1; } - task_create (mach_task_self (), 0, &child_task); + task_create (mach_task_self (), +#ifdef KERN_INVALID_LEDGER + NULL, 0, /* OSF Mach */ +#endif + 0, &child_task); proc_child (procserver, child_task); proc_task2pid (procserver, child_task, &child_pid); proc_task2proc (procserver, child_task, &default_ports[INIT_PORT_PROC]); |