aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32/syscall32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/ia32/syscall32.c')
-rw-r--r--arch/x86/ia32/syscall32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/ia32/syscall32.c b/arch/x86/ia32/syscall32.c
index d751d96c2ef2..98ff99f5b59a 100644
--- a/arch/x86/ia32/syscall32.c
+++ b/arch/x86/ia32/syscall32.c
@@ -46,6 +46,10 @@ int syscall32_setup_pages(struct linux_binprm *bprm, int exstack)
46 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC| 46 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC|
47 VM_ALWAYSDUMP, 47 VM_ALWAYSDUMP,
48 syscall32_pages); 48 syscall32_pages);
49 if (ret == 0) {
50 current->mm->context.vdso = (void __user *)VSYSCALL32_BASE;
51 current_thread_info()->sysenter_return = VSYSCALL32_SYSEXIT;
52 }
49 up_write(&mm->mmap_sem); 53 up_write(&mm->mmap_sem);
50 return ret; 54 return ret;
51} 55}