[PATCH v4 2/2] selftests/ptrace: check that PTRACE_SET_SYSCALL_INFO rejects invalid error values

Renzo Davoli renzo at cs.unibo.it
Tue Nov 17 09:05:37 UTC 2026


On Mon, 16 Nov 2026 15:36:42 -0800 Andrew Morton <akpm at linux-foundation.org> wrote:
> LLM suggested a little fixup here, please check.
>
> From: Andrew Morton <akpm at linux-foundation.org>
> Subject: selftests/ptrace: test the lowest valid syscall error

Thanks Andrew, the fixup is correct and a good addition: the test now
covers both sides of the -MAX_ERRNO boundary.

I tested it on top of v4 (x86_64, QEMU): set_syscall_info passes.

Reviewed-by: Renzo Davoli <renzo at cs.unibo.it>
Tested-by: Renzo Davoli <renzo at cs.unibo.it>

renzo


More information about the Strace-devel mailing list