Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 201766a ("ptrace: add PTRACE_GET_SYSCALL_INFO request") and detected by strace test suite. Link: strace/strace#235 Fixes: c2d9f17 ("MIPS: Fix syscall_get_nr for the syscall exit tracing.") Cc: <[email protected]> # v3.19+ Co-developed-by: Dmitry V. Levin <[email protected]> Signed-off-by: Dmitry V. Levin <[email protected]> Signed-off-by: Elvira Khabirova <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
- Loading branch information