aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-09-15 20:29:37 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 08:37:42 -0400
commit00932ba3052a84ed73fab34ff1ec5a413b77fbab (patch)
treeb4e0d328eb0df53c7cb5d495cb609cd079461ac5 /arch/mips/mm
parentfc095a902181b72ce77a10feb7b36ba1cbacd736 (diff)
[MIPS] Make PROT_WRITE imply PROT_READ.
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c
index e3a617224868..a4f8c45c4e8e 100644
--- a/arch/mips/mm/fault.c
+++ b/arch/mips/mm/fault.c
@@ -89,7 +89,7 @@ good_area:
89 if (!(vma->vm_flags & VM_WRITE)) 89 if (!(vma->vm_flags & VM_WRITE))
90 goto bad_area; 90 goto bad_area;
91 } else { 91 } else {
92 if (!(vma->vm_flags & (VM_READ | VM_EXEC))) 92 if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)))
93 goto bad_area; 93 goto bad_area;
94 } 94 }
95 95