diff options
author | Robert Morris <[email protected]> | 2010-09-19 13:47:52 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2010-09-19 13:47:52 -0400 |
commit | 05d66b06294df89ba3d5b8f6cf535f7edf00bd1f (patch) | |
tree | 7ad72310c36730273ceb449be14c660ce3555732 /exec.c | |
parent | 4587b35847b116057e3ef1058da914b8837ff343 (diff) | |
download | xv6-labs-05d66b06294df89ba3d5b8f6cf535f7edf00bd1f.tar.gz xv6-labs-05d66b06294df89ba3d5b8f6cf535f7edf00bd1f.tar.bz2 xv6-labs-05d66b06294df89ba3d5b8f6cf535f7edf00bd1f.zip |
my comment is wrong, exec handles BSS fine
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -48,9 +48,6 @@ exec(char *path, char **argv) } iunlockput(ip); - // XXX rtm: what about the BSS? shouldn't there be some - // bzero()ing here? - // Allocate and initialize stack at sz sz = spbottom = PGROUNDUP(sz); if(!(sz = allocuvm(pgdir, sz, sz + PGSIZE))) |