summaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 11:21:30 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 11:21:30 +0000
commit2e2b07d98b44fe81e18e14b8f77f655305f99ab7 (patch)
tree6965a50aa78c828be794670e44bc6a5af7d30df0 /exec/exec.c
parentb04593aaf0ce14ac836838ce46794326723ef5a0 (diff)
2002-01-02 Roland McGrath <roland@frob.com>
* exec.c (do_exec) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant.
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index 567f11c0..ad1eb079 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -1,5 +1,6 @@
/* GNU Hurd standard exec server.
- Copyright (C) 1992,93,94,95,96,98,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1992,93,94,95,96,98,99,2000,01,02
+ Free Software Foundation, Inc.
Written by Roland McGrath.
Can exec ELF format directly.
@@ -1453,6 +1454,9 @@ do_exec (file_t file,
e.error = task_create (((flags & EXEC_SECURE) ||
oldtask == MACH_PORT_NULL) ?
mach_task_self () : oldtask,
+#ifdef KERN_INVALID_LEDGER
+ NULL, 0, /* OSF Mach */
+#endif
0, &newtask);
if (e.error)
goto out;