Searched refs:rlim_stack (Results 1 – 1 of 1) sorted by relevance
377 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init()487 limit = min(limit, bprm->rlim_stack.rlim_cur / 4); in bprm_stack_limits()762 unsigned long rlim_stack; in setup_arg_pages() local766 stack_base = bprm->rlim_stack.rlim_max; in setup_arg_pages()844 rlim_stack = bprm->rlim_stack.rlim_cur & PAGE_MASK; in setup_arg_pages()846 if (stack_size + stack_expand > rlim_stack) in setup_arg_pages()847 stack_base = vma->vm_start + rlim_stack; in setup_arg_pages()851 if (stack_size + stack_expand > rlim_stack) in setup_arg_pages()852 stack_base = vma->vm_end - rlim_stack; in setup_arg_pages()1335 if (bprm->rlim_stack.rlim_cur > _STK_LIM) in begin_new_exec()[all …]