Re: [PATCH v4 2/2] selftests/ptrace: check that PTRACE_SET_SYSCALL_INFO rejects invalid error values
From: Renzo Davoli
Date: Tue Nov 17 2026 - 04:05:50 EST
On Mon, 16 Nov 2026 15:36:42 -0800 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> LLM suggested a little fixup here, please check.
>
> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxx>
Tested-by: Renzo Davoli <renzo@xxxxxxxxxxx>
renzo