linux/arch/um/kernel
Jeff Dike 377fad3acb uml: kernel segfaults should dump proper registers
If there's a segfault inside the kernel, we want a dump of the registers at
the point of the segfault, not the registers at the point of calling panic or
the last userspace registers.

sig_handler_common_skas now uses a static register set in the case of a
SIGSEGV to avoid messing up the process registers if the segfault turns out to
be non-fatal.

The architecture sigcontext-to-pt_regs copying code was repurposed to copy
data out of the SEGV stack frame.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:02 -07:00
..
skas uml: speed up exec 2007-05-07 12:13:02 -07:00
tt remove unused header file: arch/um/kernel/tt/include/mode_kern-tt.h 2007-05-07 12:13:01 -07:00
asm-offsets.c
config.c.in
dyn.lds.S [PATCH] uml: add _text definition to linker scripts 2006-10-31 08:07:00 -08:00
exec.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
exitcode.c [PATCH] uml: locking documentation 2006-09-29 09:18:04 -07:00
gmon_syms.c [PATCH] uml: fix gcov support 2006-09-27 08:26:16 -07:00
gprof_syms.c
init_task.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
initrd.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
irq.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
ksyms.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
Makefile [PATCH] uml: delete unused file 2007-02-11 10:51:22 -08:00
mem.c uml: add missing __init declarations 2007-05-07 12:13:01 -07:00
physmem.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
process.c uml: kernel_thread shouldn't panic 2007-05-07 12:13:02 -07:00
ptrace.c [PATCH] uml: x86_64 ptrace fixes 2007-02-11 10:51:24 -08:00
reboot.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
sigio.c [PATCH] uml: SIGIO formatting fixes 2007-02-11 10:51:23 -08:00
signal.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
smp.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
syscall.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
sysrq.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
time.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
tlb.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
trap.c uml: kernel segfaults should dump proper registers 2007-05-07 12:13:02 -07:00
uaccess.c
um_arch.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
umid.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
uml.lds.S [PATCH] uml: add _text definition to linker scripts 2006-10-31 08:07:00 -08:00
vmlinux.lds.S [PATCH] uml: tidy biarch gcc support 2006-07-14 21:53:52 -07:00