commit | 545c174d1f093a462b4bb9131b23d5ea72a600e1 | [log] [tgz] |
---|---|---|
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | Wed May 12 09:32:12 2010 +0200 |
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | Wed May 12 09:32:26 2010 +0200 |
tree | 29bcee32c34714f5a6b377bbb54bf791853937af | |
parent | 1c1e093cbf6d3a7576ba0bd10363362a1c5c74ee [diff] |
[S390] ptrace: fix return value of do_syscall_trace_enter() 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>