android_kernel_sony_msm8994.../arch
Richard Weinberger 4fdaa3d479 um: Implement probe_kernel_read()
commit f75b1b1bedfb498cc43a992ce4d7ed8df3b1e770 upstream.

UML needs it's own probe_kernel_read() to handle kernel
mode faults correctly.
The implementation uses mincore() on the host side to detect
whether a page is owned by the UML kernel process.

This fixes also a possible crash when sysrq-t is used.
Starting with 3.10 sysrq-t calls probe_kernel_read() to
read details from the kernel workers. As kernel worker are
completely async pointers may turn NULL while reading them.

Signed-off-by: Richard Weinberger <richard@nod.at>
Cc: <stian@nixia.no>
Cc: <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-26 17:18:29 -07:00
..
alpha
arc ARC: [lib] strchr breakage in Big-endian configuration 2013-08-29 09:47:34 -07:00
arm ARM: PCI: versatile: Fix SMAP register offsets 2013-09-26 17:18:03 -07:00
arm64 arm64: perf: fix ARMv8 EVTYPE_MASK to include NSH bit 2013-09-26 17:18:03 -07:00
avr32
blackfin
c6x arch: c6x: mm: include "asm/uaccess.h" to pass compiling 2013-07-21 18:21:29 -07:00
cris
frv
h8300
hexagon
ia64 Fix TLB gather virtual address range invalidation corner cases 2013-08-20 08:43:05 -07:00
m32r
m68k m68k/atari: ARAnyM - Fix NatFeat module support 2013-08-20 08:43:05 -07:00
metag metag: fix mm/hugetlb.c build breakage 2013-06-19 06:23:34 -10:00
microblaze microblaze: fix clone syscall 2013-08-20 08:43:02 -07:00
mips MIPS: ath79: Fix ar933x watchdog clock 2013-09-26 17:18:27 -07:00
mn10300 mn10300: Use early_param() to parse "mem=" parameter 2013-06-28 16:53:03 +01:00
openrisc
parisc parisc: Fix interrupt routing for C8000 serial ports 2013-08-11 18:35:21 -07:00
powerpc KVM: PPC: Book3S: Fix compile error in XICS emulation 2013-09-26 17:18:03 -07:00
s390 KVM: s390: move kvm_guest_enter,exit closer to sie 2013-08-29 09:47:28 -07:00
score score: remove redundant kcore_list entries 2013-05-25 10:27:27 -07:00
sh Fix TLB gather virtual address range invalidation corner cases 2013-08-20 08:43:05 -07:00
sparc sparc32: vm_area_struct access for old Sun SPARCs. 2013-07-28 16:29:41 -07:00
tile tilepro: work around module link error with gcc 4.7 2013-06-15 16:47:47 -04:00
um um: Implement probe_kernel_read() 2013-09-26 17:18:29 -07:00
unicore32
x86 sched/x86: Optimize switch_mm() for multi-threaded workloads 2013-09-26 17:18:14 -07:00
xtensa xtensa: adjust boot parameters address when INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is selected 2013-07-25 14:07:42 -07:00
.gitignore
Kconfig microblaze: fix clone syscall 2013-08-20 08:43:02 -07:00