Searched refs:stack_limit (Results 1 – 1 of 1) sorted by relevance
87 struct rlimit stack_limit; in check_stack_top() local95 ret = getrlimit (RLIMIT_STACK, &stack_limit); in check_stack_top()102 printf ("current rlimit_stack is %zu\n", (size_t) stack_limit.rlim_cur); in check_stack_top()115 stack_limit.rlim_cur = MIN (stacksize - pagesize + 1, MAX_STACK_SIZE); in check_stack_top()116 printf ("Adjusting RLIMIT_STACK to %zu\n", (size_t) stack_limit.rlim_cur); in check_stack_top()117 if ((ret = setrlimit (RLIMIT_STACK, &stack_limit)) < 0) in check_stack_top()
Completed in 3 milliseconds