From f4b3edf5ab211c6dfbb2befb1a4c1b6bd26e4222 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Wed, 10 Aug 2022 06:00:40 -0400 Subject: comment nits --- kernel/exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/exec.c') diff --git a/kernel/exec.c b/kernel/exec.c index d62d29d..09b4bdc 100644 --- a/kernel/exec.c +++ b/kernel/exec.c @@ -65,6 +65,7 @@ exec(char *path, char **argv) uint64 oldsz = p->sz; // Allocate two pages at the next page boundary. + // Make the first inaccessible as a stack guard. // Use the second as the user stack. sz = PGROUNDUP(sz); uint64 sz1; -- cgit v1.2.3