[PATCH v2] arm64: ptrace: don't warn on missing siginfo in a group-stop
Oleg Nesterov
oleg at redhat.com
Sat Oct 24 08:09:11 PDT 2026
On 10/24, Zhao Gongyi wrote:
>
> On 10/23/26 9:24 PM, Oleg Nesterov wrote:
> >
> > So it seems that we can just do
> >
> > if ((target->exit_code & ~0x80) == SIGTRAP &&
> > target->ptrace_message == PTRACE_EVENTMSG_SYSCALL_EXIT)
> >
> > ?
> >
> > I'll recheck... If I am right, perhaps it makes sense to simplify
> > ptrace_get_syscall_info_op().
> >
>
> Hi Oleg,
>
> Thanks for the review. I checked target->exit_code when the tracer calls
> PTRACE_SETREGSET after waitpid().
Aaaaah, I forgot that wait_task_stopped() obviously clears ->exit_code ;)
Zhao, sorry for noise and thanks for correcting me!
And let me repeat, you patch LGTM. But I don't think I can ACK it, I don't
understand this arm-specific code.
Thanks!
Oleg.
More information about the linux-arm-kernel
mailing list