efb44ff64c
As with most architectures, allow handling of read faults in VMAs that
have VM_WRITE but without VM_READ (WRITE implies READ).
Otherwise, reading before writing a write-only memory will error while
reading after writing everything is fine.
BTW, move the VM_EXEC judgement before VM_READ/VM_WRITE to make logic a
little clearer.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
cache.c | ||
extable.c | ||
fault.c | ||
hugetlbpage.c | ||
init.c | ||
ioremap.c | ||
kasan_init.c | ||
maccess.c | ||
mmap.c | ||
page.S | ||
pgtable.c | ||
tlb.c | ||
tlbex.S |