9057e9deee
It's wrong to pop a fixed number of words from stack before calling sigreturn, as the number depends on what code is generated by the compiler for the start of stub_segv_handler(). What we need is esp containing the address of sigcontext. So we explicitly load that pointer into esp. Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
util | ||
bugs.c | ||
checksum.S | ||
delay.c | ||
fault.c | ||
kernel-offsets.c | ||
ksyms.c | ||
ldt.c | ||
Makefile | ||
ptrace_user.c | ||
ptrace.c | ||
sigcontext.c | ||
signal.c | ||
stub_segv.c | ||
stub.S | ||
sys_call_table.S | ||
syscalls.c | ||
sysrq.c | ||
unmap.c | ||
user-offsets.c |