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
Documentation
bench
scripts
util
.gitignore -rw-r--r-- 219 bytes
CREDITS -rw-r--r-- 603 bytes
Makefile -rw-r--r-- 36.9 KB
builtin-annotate.c -rw-r--r-- 13.6 KB
builtin-bench.c -rw-r--r-- 4.8 KB
builtin-buildid-cache.c -rw-r--r-- 3.2 KB
builtin-buildid-list.c -rw-r--r-- 1.4 KB
builtin-diff.c -rw-r--r-- 6.5 KB
builtin-help.c -rw-r--r-- 11.2 KB
builtin-kmem.c -rw-r--r-- 17.0 KB
builtin-list.c -rw-r--r-- 437 bytes
builtin-lock.c -rw-r--r-- 19.0 KB
builtin-probe.c -rw-r--r-- 9.5 KB
builtin-record.c -rw-r--r-- 16.6 KB
builtin-report.c -rw-r--r-- 12.4 KB
builtin-sched.c -rw-r--r-- 43.5 KB
builtin-stat.c -rw-r--r-- 13.0 KB
builtin-timechart.c -rw-r--r-- 23.0 KB
builtin-top.c -rw-r--r-- 31.2 KB
builtin-trace.c -rw-r--r-- 13.1 KB
builtin.h -rw-r--r-- 1.7 KB
command-list.txt -rw-r--r-- 678 bytes
design.txt -rw-r--r-- 17.3 KB
perf-archive.sh -rw-r--r-- 815 bytes
perf.c -rw-r--r-- 11.3 KB
perf.h -rw-r--r-- 3.2 KB

back to top