proc: increased process stack size
@@ -628,10 +628,10 @@ int process_load(vm_map_t *map, syspage_program_t *prog, const char *path, int a
vm_objectPut(o);
/* Allocate and map user stack */
- if ((stack = vm_mmap(map, map->pmap.end - 4 * SIZE_PAGE, NULL, 4 * SIZE_PAGE, PROT_READ | PROT_WRITE | PROT_USER, NULL, -1, MAP_NONE)) == NULL)
+ if ((stack = vm_mmap(map, map->pmap.end - 8 * SIZE_PAGE, NULL, 8 * SIZE_PAGE, PROT_READ | PROT_WRITE | PROT_USER, NULL, -1, MAP_NONE)) == NULL)
return -ENOMEM;
- stack += 4 * SIZE_PAGE;
+ stack += 8 * SIZE_PAGE;
/* Copy data from kernel stack */
for (i = 0; i < argc; ++i) {
