diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index f4b8103..7d9ae5a 100644 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -54,6 +54,8 @@ /* Find A New Thread */ newProcess = schedNewTask(); assert(newProcess); + if (stack < 0x100000) + kpanic("exec: stack not in valid area\n"); /* Set All The Correct Thread Attributes */ newProcess->tss.back_link = 0x0; @@ -403,6 +405,9 @@ /*** $Log$ + Revision 1.49 2004/07/24 23:04:44 reddawg + Changes... mark let me know if you fault at pid 185 when you type stress + Revision 1.48 2004/07/22 19:27:36 reddawg Did i forget to commit