diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-09-16 02:29:37 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 14:37:42 +0200 |
commit | 00932ba3052a84ed73fab34ff1ec5a413b77fbab (patch) | |
tree | b4e0d328eb0df53c7cb5d495cb609cd079461ac5 /arch/mips/mm/fault.c | |
parent | [MIPS] Atlas: update interrupt handling (diff) | |
download | linux-00932ba3052a84ed73fab34ff1ec5a413b77fbab.tar.xz linux-00932ba3052a84ed73fab34ff1ec5a413b77fbab.zip |
[MIPS] Make PROT_WRITE imply PROT_READ.
Diffstat (limited to 'arch/mips/mm/fault.c')
-rw-r--r-- | arch/mips/mm/fault.c | 2 |
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: 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; } |