Skip to content
Snippets Groups Projects
Commit 4c868901 authored by Alessandro Di Federico's avatar Alessandro Di Federico
Browse files

Set default stack size to 16 MiB

parent 24c1df35
No related branches found
No related tags found
No related merge requests found
......@@ -340,11 +340,11 @@ int main(int argc, char *argv[]) {
// Allocate and initialize the stack
void *stack = mmap((void *) NULL,
0x100000,
16 * 0x100000,
PROT_READ | PROT_WRITE,
MAP_ANONYMOUS | MAP_32BIT | MAP_PRIVATE,
-1,
0) + 0x100000 - 0x1000;
0) + 16 * 0x100000 - 0x1000;
assert(stack != NULL);
stack = prepare_stack(stack, argc, argv);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment