[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181128131347.GB30395@redhat.com>
Date: Wed, 28 Nov 2018 14:13:48 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: "Dmitry V. Levin" <ldv@...linux.org>
Cc: Elvira Khabirova <lineprinter@...linux.org>,
Eugene Syromyatnikov <esyr@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
Andy Lutomirski <luto@...nel.org>,
Ingo Molnar <mingo@...hat.com>, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org, strace-devel@...ts.strace.io
Subject: Re: [RFC PATCH RESEND v3 3/3] ptrace: add PTRACE_EVENT_SECCOMP
support to PTRACE_GET_SYSCALL_INFO
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.
Powered by blists - more mailing lists