[MIPS] Make PROT_WRITE imply PROT_READ.

This commit is contained in:
Ralf Baechle 2006-09-16 01:29:37 +01:00
parent fc095a9021
commit 00932ba305
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}