From: Gerald Schaefer Date: Wed, 12 May 2010 07:32:12 +0000 (+0200) Subject: [S390] ptrace: fix return value of do_syscall_trace_enter() X-Git-Tag: v2.6.34~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=545c174d1f093a462b4bb9131b23d5ea72a600e1;p=pandora-kernel.git [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: Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed