summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/ps3/htab.c
diff options
context:
space:
mode:
authorElvira Khabirova <lineprinter0@gmail.com>2023-02-19 01:43:59 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-02-19 11:28:30 +0300
commit85cc91e2ba4262a602ec65e2b76c4391a9e60d3d (patch)
tree75d55678594f0e9820cd480db0b6361de35945fc /arch/powerpc/platforms/ps3/htab.c
parent6f02e39fa40f16c24e7a5c599a854c0d1682788d (diff)
downloadlinux-85cc91e2ba4262a602ec65e2b76c4391a9e60d3d.tar.xz
mips: fix syscall_get_nr
The implementation of syscall_get_nr on mips used to ignore the task argument and return the syscall number of the calling thread instead of the target thread. The bug was exposed to user space by commit 201766a20e30f ("ptrace: add PTRACE_GET_SYSCALL_INFO request") and detected by strace test suite. Link: https://github.com/strace/strace/issues/235 Fixes: c2d9f1775731 ("MIPS: Fix syscall_get_nr for the syscall exit tracing.") Cc: <stable@vger.kernel.org> # v3.19+ Co-developed-by: Dmitry V. Levin <ldv@strace.io> Signed-off-by: Dmitry V. Levin <ldv@strace.io> Signed-off-by: Elvira Khabirova <lineprinter0@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/powerpc/platforms/ps3/htab.c')
0 files changed, 0 insertions, 0 deletions