kernel-ark/arch/powerpc/mm
Segher Boessenkool 9ba4ace39f [POWERPC] PowerPC: Prevent data exception in kernel space (32-bit)
The "is_exec" branch of the protection check in do_page_fault()
didn't do anything on 32-bit PowerPC.  So if a userland program
jumps to a page with Linux protection flags "---p", all the tests
happily fall through, and handle_mm_fault() is called, which in
turn calls handle_pte_fault(), which calls update_mmu_cache(),
which goes flush the dcache to a page with no access rights.

Boom.

This fixes it.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-20 22:07:38 +10:00
..
4xx_mmu.c
44x_mmu.c
fault.c
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c
hugetlbpage.c
imalloc.c
init_32.c
init_64.c
lmb.c
Makefile
mem.c
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c
pgtable_32.c
pgtable_64.c
ppc_mmu_32.c
slb_low.S
slb.c
slice.c
stab.c
tlb_32.c
tlb_64.c