diff options
author | Robert Morris <[email protected]> | 2011-09-01 12:02:49 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2011-09-01 12:02:49 -0400 |
commit | 5a236924444db768813d726ae165d263856d8bff (patch) | |
tree | 7f6ba51bec015a7c467f8489d15b2133dfda37bc /proc.c | |
parent | 15997d58497f4c716c227787acf9591439e5fe9c (diff) | |
download | xv6-labs-5a236924444db768813d726ae165d263856d8bff.tar.gz xv6-labs-5a236924444db768813d726ae165d263856d8bff.tar.bz2 xv6-labs-5a236924444db768813d726ae165d263856d8bff.zip |
fix usertests to correctly test what happens when you call
exec() with arguments that don't fit on a single page.
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ found: p->pid = nextpid++; release(&ptable.lock); - // Allocate kernel stack if possible. + // Allocate kernel stack. if((p->kstack = kalloc()) == 0){ p->state = UNUSED; return 0; |