diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |