Home
last modified time | relevance | path

Searched refs:stack_shift (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/fs/
Dexec.c721 unsigned long stack_shift; in setup_arg_pages() local
749 stack_shift = vma->vm_start - stack_base; in setup_arg_pages()
750 mm->arg_start = bprm->p - stack_shift; in setup_arg_pages()
751 bprm->p = vma->vm_end - stack_shift; in setup_arg_pages()
760 stack_shift = vma->vm_end - stack_top; in setup_arg_pages()
762 bprm->p -= stack_shift; in setup_arg_pages()
767 bprm->loader -= stack_shift; in setup_arg_pages()
768 bprm->exec -= stack_shift; in setup_arg_pages()
804 if (stack_shift) { in setup_arg_pages()
810 ret = relocate_vma_down(vma, stack_shift); in setup_arg_pages()