android_kernel_xiaomi_sm8350/arch
Paolo 'Blaisorblade' Giarrusso d129f31236 [PATCH] uml: fix fault handler on write
The UML fault handler was recently changed to enforce PROT_NONE protections,
by requiring VM_READ or VM_EXEC on VMA's.

However, by mistake, things were changed such that VM_READ is always checked,
also on write faults; so a VMA mapped with only PROT_WRITE is not readable
(unless it's prefaulted with MAP_POPULATE or with a write), which is different
from i386.

Discovered while testing remap_file_pages protection support.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-10 12:00:18 -07:00
..
alpha [PATCH] alpha: fix-up schedule_timeout() usage 2005-09-10 10:06:37 -07:00
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2005-09-10 10:16:47 -07:00
arm26 kbuild: arm26,sparc use generic asm-offset support 2005-09-09 20:35:55 +02:00
cris kbuild: cris use generic asm-offsets.h support 2005-09-09 22:44:31 +02:00
frv kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
h8300 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support 2005-09-09 20:28:49 +02:00
i386 [PATCH] i386 / uml: add dwarf sections to static link script 2005-09-10 12:00:17 -07:00
ia64 [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
m32r [PATCH] Remove even more stale references to Documentation/smp.tex 2005-09-10 10:06:24 -07:00
m68k Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
m68knommu Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
mips [PATCH] mips: fix-up schedule_timeout() usage 2005-09-10 10:06:37 -07:00
parisc [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
ppc [PATCH] powerpc: Move include3 to arch/$(ARCH)/include 2005-09-10 10:15:12 -07:00
ppc64 [PATCH] powerpc: Move include3 to arch/$(ARCH)/include 2005-09-10 10:15:12 -07:00
s390 [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
sh [PATCH] janitor: sh: hd64465: minmax-removal 2005-09-10 10:06:33 -07:00
sh64 [PATCH] SH64: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
sparc [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
sparc64 [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
um [PATCH] uml: fix fault handler on write 2005-09-10 12:00:18 -07:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] x86_64 linker script cleanups for debug sections 2005-09-10 12:00:17 -07:00
xtensa kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00