You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ABORT_IF(getrlimit(RLIMIT_STACK, &rlim), "failed to get the stack size");
127
127
128
-
// Allocate the stack. On x86_64, the stack "grows down" meaning that the address returned by mmap is actually the lowest possible address for the stack. The "top" of the new stack is the address of one page past it.
128
+
// Allocate the stack. On x86_64, the stack "grows down" meaning that the address returned by mmap is actually the lowest possible address for the stack. The "top" of the new stack is the address of one page past it.
129
129
// TODO: we could use MMAP_GROWSDOWN and get growable stacks. Unsure if this is necessary or even workable.
130
130
// TODO: should we add a guard page for stack overflow?
0 commit comments