commit | 00932ba3052a84ed73fab34ff1ec5a413b77fbab | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Sat Sep 16 01:29:37 2006 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Sep 27 13:37:42 2006 +0100 |
tree | b4e0d328eb0df53c7cb5d495cb609cd079461ac5 | |
parent | fc095a902181b72ce77a10feb7b36ba1cbacd736 [diff] |
[MIPS] Make PROT_WRITE imply PROT_READ.
diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c index e3a6172..a4f8c45 100644 --- a/arch/mips/mm/fault.c +++ b/arch/mips/mm/fault.c
@@ -89,7 +89,7 @@ if (!(vma->vm_flags & VM_WRITE)) goto bad_area; } else { - if (!(vma->vm_flags & (VM_READ | VM_EXEC))) + if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) goto bad_area; }