aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 7302b75a9820..01aebe300200 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -277,6 +277,7 @@ static int __bprm_mm_init(struct linux_binprm *bprm)
277 goto err; 277 goto err;
278 278
279 mm->stack_vm = mm->total_vm = 1; 279 mm->stack_vm = mm->total_vm = 1;
280 arch_bprm_mm_init(mm, vma);
280 up_write(&mm->mmap_sem); 281 up_write(&mm->mmap_sem);
281 bprm->p = vma->vm_end - sizeof(void *); 282 bprm->p = vma->vm_end - sizeof(void *);
282 return 0; 283 return 0;