From 05d66b06294df89ba3d5b8f6cf535f7edf00bd1f Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Sun, 19 Sep 2010 13:47:52 -0400 Subject: my comment is wrong, exec handles BSS fine --- exec.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'exec.c') 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))) -- cgit v1.2.3