diff options
Diffstat (limited to 'kernel/exec.c')
-rw-r--r-- | kernel/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |