diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index 238b9f5..e71dba6 100644 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -404,10 +404,9 @@ tmp = (uInt32 *)_current->tss.esp0 - 5; tmp[0] = binaryHeader->eEntry; tmp[3] = 0x5DD000-12; - tmp = (uInt32 *)0x5DD000 - 3; + tmp = (uInt32 *)0x5DD000 - 2; tmp[0] = argc; tmp[1] = (uInt32)argv; - tmp[2] = 0x0; /* Now That We Relocated The Binary We Can Unmap And Free Header Info */ kfree(binaryHeader); @@ -418,6 +417,9 @@ /*** $Log$ + Revision 1.56 2004/07/28 17:07:25 reddawg + MPI: moved the syscalls + Revision 1.55 2004/07/28 15:05:43 reddawg Major: Pages now have strict security enforcement.