diff options
Diffstat (limited to 'mm/mprotect.c')
-rw-r--r-- | mm/mprotect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mprotect.c b/mm/mprotect.c index f7cb3d4d9c2e..3790c8bee380 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c | |||
@@ -380,7 +380,7 @@ SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len, | |||
380 | if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) | 380 | if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) |
381 | prot |= PROT_EXEC; | 381 | prot |= PROT_EXEC; |
382 | 382 | ||
383 | vm_flags = calc_vm_prot_bits(prot); | 383 | vm_flags = calc_vm_prot_bits(prot, 0); |
384 | 384 | ||
385 | down_write(¤t->mm->mmap_sem); | 385 | down_write(¤t->mm->mmap_sem); |
386 | 386 | ||