diff options
Diffstat (limited to 'arch/x86/um/vdso/vma.c')
-rw-r--r-- | arch/x86/um/vdso/vma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/um/vdso/vma.c b/arch/x86/um/vdso/vma.c index 237c6831e095..6be22f991b59 100644 --- a/arch/x86/um/vdso/vma.c +++ b/arch/x86/um/vdso/vma.c | |||
@@ -61,7 +61,8 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
61 | if (!vdso_enabled) | 61 | if (!vdso_enabled) |
62 | return 0; | 62 | return 0; |
63 | 63 | ||
64 | down_write(&mm->mmap_sem); | 64 | if (down_write_killable(&mm->mmap_sem)) |
65 | return -EINTR; | ||
65 | 66 | ||
66 | err = install_special_mapping(mm, um_vdso_addr, PAGE_SIZE, | 67 | err = install_special_mapping(mm, um_vdso_addr, PAGE_SIZE, |
67 | VM_READ|VM_EXEC| | 68 | VM_READ|VM_EXEC| |