https://github.com/torvalds/linux
Revision 545c174d1f093a462b4bb9131b23d5ea72a600e1 authored by Gerald Schaefer on 12 May 2010, 07:32:12 UTC, committed by Martin Schwidefsky on 12 May 2010, 07:32:26 UTC
strace may change the system call number, so regs->gprs[2] must not
be read before tracehook_report_syscall_entry(). This fixes a bug
where "strace -f" will hang after a vfork().

Cc: <stable@kernel.org>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 1c1e093
History
Tip revision: 545c174d1f093a462b4bb9131b23d5ea72a600e1 authored by Gerald Schaefer on 12 May 2010, 07:32:12 UTC
[S390] ptrace: fix return value of do_syscall_trace_enter()
Tip revision: 545c174
File Mode Size
perf

back to top