1 |
/* GNU Hurd standard exec server. |
/* GNU Hurd standard exec server. |
2 |
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 |
3 |
|
Free Software Foundation, Inc. |
4 |
Written by Roland McGrath. |
Written by Roland McGrath. |
5 |
|
|
6 |
Can exec ELF format directly. |
Can exec ELF format directly. |
1454 |
e.error = task_create (((flags & EXEC_SECURE) || |
e.error = task_create (((flags & EXEC_SECURE) || |
1455 |
oldtask == MACH_PORT_NULL) ? |
oldtask == MACH_PORT_NULL) ? |
1456 |
mach_task_self () : oldtask, |
mach_task_self () : oldtask, |
1457 |
|
#ifdef KERN_INVALID_LEDGER |
1458 |
|
NULL, 0, /* OSF Mach */ |
1459 |
|
#endif |
1460 |
0, &newtask); |
0, &newtask); |
1461 |
if (e.error) |
if (e.error) |
1462 |
goto out; |
goto out; |