projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc095a9
)
[MIPS] Make PROT_WRITE imply PROT_READ.
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 16 Sep 2006 00:29:37 +0000
(
01:29
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:42 +0000
(13:37 +0100)
arch/mips/mm/fault.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mm/fault.c
b/arch/mips/mm/fault.c
index e3a617224868f04643719e68c9020d9941688efc..a4f8c45c4e8ede95a018f85da394317a88153ba4 100644
(file)
--- 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;
}