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

Oleg Nesterov oleg at redhat.com
Wed Nov 28 13:13:48 UTC 2018


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.



More information about the Strace-devel mailing list