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
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 166.4 KB
Makefile -rw-r--r-- 51.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top