Re: [RFC PATCH RESEND v3 3/3] ptrace: add PTRACE_EVENT_SECCOMP support to PTRACE_GET_SYSCALL_INFO

From: Oleg Nesterov
Date: Wed Nov 28 2018 - 08:13:55 EST


On 11/28, Dmitry V. Levin wrote:
>
> What about PTRACE_GETSIGINFO? Can it also be done lockless because
> ptrace_check_attach() has already called ptrace_freeze_traced()?

Yes, only PTRACE_INTERRUPT needs lock_task_sighand() and it can actually
fail because the tracee is not necessarily stopped.

Oleg.