diff options
author | Andi Kleen <ak@suse.de> | 2007-05-02 19:27:05 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 19:27:05 +0200 |
commit | d18951834216eae82e2f9112416111b4f55f1849 (patch) | |
tree | 50df6c7ebd261de01c0cc311d3eccd5b234720d9 /include/asm-s390/semaphore.h | |
parent | 00e065ea587363e538d9624eea8cacad12cb7397 (diff) |
[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(-)
Diffstat (limited to 'include/asm-s390/semaphore.h')
0 files changed, 0 insertions, 0 deletions