Thread (24 messages) flat view 24 messages, 6 authors, 2015-06-03

Re: [PATCH] seccomp: add ptrace commands for suspend/resume

From: Oleg Nesterov <oleg@redhat.com>
Date: 2015-06-02 18:49:49
Also in: lkml

On 06/02, Tycho Andersen wrote:
quoted
Do we need to re-enable seccomp if a tracer detaches unexpectedly.
CRIU can be killed and we should try to not affect the task state even
in this case.
Yes, I think Pavel's suggestion on the CRIU list of simply
automatically re-enabling seccomp on ptrace detach
But note that you can't enable tsc if the tracer dies, in this case
the tracee can be running.

Otherwise, if we use PTRACE_O_ instead, it goes away automatically if
the tracer dies or does PTRACE_DETACH.

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help