fad1c45c93
The old code had the IP and SP coming from the registers in the thread struct, which are completely wrong since those are the userspace registers. This fixes that by pulling the correct values from the jmp_buf in which the kernel state of each thread is stored. Signed-off-by: Allan Graves <allan.graves@oracle.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
bugs.c | ||
checksum.S | ||
delay.c | ||
fault.c | ||
kernel-offsets.c | ||
ksyms.c | ||
ldt.c | ||
Makefile | ||
ptrace.c | ||
ptrace_user.c | ||
sigcontext.c | ||
signal.c | ||
stub.S | ||
stub_segv.c | ||
sys_call_table.S | ||
syscalls.c | ||
sysrq.c | ||
unmap.c | ||
user-offsets.c |