diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2010-05-12 09:32:12 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-05-12 09:32:26 +0200 |
commit | 545c174d1f093a462b4bb9131b23d5ea72a600e1 (patch) | |
tree | 29bcee32c34714f5a6b377bbb54bf791853937af /arch/s390/kernel/mem_detect.c | |
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>
Diffstat (limited to 'arch/s390/kernel/mem_detect.c')
0 files changed, 0 insertions, 0 deletions