[PATCH v4 1/2] ptrace: add PTRACE_SET_SYSCALL_INFO syscall skipping support
Oleg Nesterov
oleg at redhat.com
Thu Jul 9 06:07:44 UTC 2026
On 07/09, Dmitry V. Levin wrote:
>
> System call suppression via PTRACE_SYSCALL_INFO_ENTRY is currently not
> implemented. On some architectures (e.g. MIPS), when a system call is
> skipped by setting the syscall number to -1 at the entry stop, the
> architecture entry path unconditionally overwrites the return value
> register with -ENOSYS, clobbering any custom return value set by the
> tracer at the entry stop.
Thanks! LGTM.
Oleg.
More information about the Strace-devel
mailing list