diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -653,6 +653,7 @@ int setup_arg_pages(struct linux_binprm *bprm, | |||
653 | else | 653 | else |
654 | stack_base = vma->vm_start - stack_expand; | 654 | stack_base = vma->vm_start - stack_expand; |
655 | #endif | 655 | #endif |
656 | current->mm->start_stack = bprm->p; | ||
656 | ret = expand_stack(vma, stack_base); | 657 | ret = expand_stack(vma, stack_base); |
657 | if (ret) | 658 | if (ret) |
658 | ret = -EFAULT; | 659 | ret = -EFAULT; |