Searched refs:rlim_stack (Results 1 – 1 of 1) sorted by relevance
1196 struct rlimit rlim_stack; in exec_map_stack() local1214 lim_rlimit_proc(p, RLIMIT_STACK, &rlim_stack); in exec_map_stack()1216 if (ssiz > rlim_stack.rlim_max) in exec_map_stack()1217 ssiz = rlim_stack.rlim_max; in exec_map_stack()1218 if (ssiz > rlim_stack.rlim_cur) { in exec_map_stack()1219 rlim_stack.rlim_cur = ssiz; in exec_map_stack()1220 kern_setrlimit(curthread, RLIMIT_STACK, &rlim_stack); in exec_map_stack()