Lines Matching defs:limit
374 /* Save current stack limit for all calculations made during exec. */
475 unsigned long limit, ptr_size;
485 limit = _STK_LIM / 4 * 3;
486 limit = min(limit, bprm->rlim_stack.rlim_cur / 4);
491 limit = max_t(unsigned long, limit, ARG_MAX);
506 if (limit <= ptr_size)
508 limit -= ptr_size;
510 bprm->argmin = bprm->p - limit;
1336 * For secureexec, reset the stack limit to sane default to
1890 * whether NPROC limit is still exceeded.
1898 /* We're below the limit (still or again), so we don't want to make