android_kernel_xiaomi_sm8350/arch/s390
Gerald Schaefer af9d2ff9af [S390] Add EX_TABLE for addressing exception in usercopy functions.
This patch adds an EX_TABLE entry to mvc{p|s|os} usercopy functions that
may be called with KERNEL_DS. In combination with collaborative memory
management, kernel pages marked as unused may trigger an adressing exception
in the usercopy functions. This fixes an unhandled addressing exception bug
where strncpy_from_user() is used with len > strnlen and KERNEL_DS, crossing
a page boundary to an unused page.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-10-06 10:35:10 +02:00
..
appldata sysctl: remove "struct file *" argument of ->proc_handler 2009-09-24 07:21:04 -07:00
boot
crypto
hypfs
include/asm [S390] 64-bit register support for 31-bit processes 2009-10-06 10:35:10 +02:00
kernel [S390] 64-bit register support for 31-bit processes 2009-10-06 10:35:10 +02:00
kvm KVM: s390: fix memsize >= 4G 2009-10-04 13:57:23 +02:00
lib [S390] Add EX_TABLE for addressing exception in usercopy functions. 2009-10-06 10:35:10 +02:00
math-emu
mm [S390] fix build breakage with CONFIG_AIO=n 2009-10-06 10:35:05 +02:00
oprofile
defconfig
Kconfig
Kconfig.debug
Makefile