android_kernel_xiaomi_sm8350/arch/x86_64
Andi Kleen d189518342 [PATCH] x86: Fix i386 and x86_64 fault information pollution
a userspace fault or a kernelspace fault which will result in the
immediate death of the process.  They should not be filled in as a
result of a kernelspace fault which can be fixed up.

Otherwise, if the process is handling SIGSEGV and examining the fault
information, this can result in the kernel space fault trashing the
previously stored fault information if it arrives between the
userspace fault happening and the SIGSEGV being delivered to the process.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Jan Beulich <jbeulich@novell.com>
--
 arch/i386/kernel/traps.c   |   24 ++++++++++++++++++------
 arch/x86_64/kernel/traps.c |   30 +++++++++++++++++++++++-------
 2 files changed, 41 insertions(+), 13 deletions(-)
2007-05-02 19:27:05 +02:00
..
boot [PATCH] x86: Don't probe for DDC on VBE1.2 2007-04-02 12:14:12 +02:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
ia32 [PATCH] x86-64: adjust inclusion of asm/vsyscall32.h 2007-05-02 19:27:04 +02:00
kernel [PATCH] x86: Fix i386 and x86_64 fault information pollution 2007-05-02 19:27:05 +02:00
lib Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-02-26 14:17:50 -08:00
mm [PATCH] x86-64: Always flush all pages in change_page_attr 2007-04-24 13:05:37 +02:00
oprofile
pci [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
defconfig [PATCH] x86-64: Update defconfig 2007-05-02 19:27:04 +02:00
Kconfig [PATCH] time: x86_64: re-enable vsyscall support for x86_64 2007-02-16 08:14:00 -08:00
Kconfig.debug [PATCH] lockdep: irqtrace subsystem, x86_64 support 2006-07-03 15:27:03 -07:00
Makefile Remove stack unwinder for now 2006-12-15 08:47:51 -08:00