summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2010-09-19 13:47:52 -0400
committerRobert Morris <[email protected]>2010-09-19 13:47:52 -0400
commit05d66b06294df89ba3d5b8f6cf535f7edf00bd1f (patch)
tree7ad72310c36730273ceb449be14c660ce3555732 /exec.c
parent4587b35847b116057e3ef1058da914b8837ff343 (diff)
downloadxv6-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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/exec.c b/exec.c
index a6de18f..0a9ca59 100644
--- a/exec.c
+++ b/exec.c
@@ -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)))