Searched refs:rlim_stack (Results 1 – 1 of 1) sorted by relevance
371 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init()473 limit = min(limit, bprm->rlim_stack.rlim_cur / 4); in prepare_arg_pages()704 unsigned long rlim_stack; in setup_arg_pages() local708 stack_base = bprm->rlim_stack.rlim_max; in setup_arg_pages()781 rlim_stack = bprm->rlim_stack.rlim_cur & PAGE_MASK; in setup_arg_pages()783 if (stack_size + stack_expand > rlim_stack) in setup_arg_pages()784 stack_base = vma->vm_start + rlim_stack; in setup_arg_pages()788 if (stack_size + stack_expand > rlim_stack) in setup_arg_pages()789 stack_base = vma->vm_end - rlim_stack; in setup_arg_pages()1354 if (bprm->rlim_stack.rlim_cur > _STK_LIM) in setup_new_exec()[all …]