[CRIU] [rfc 4/4] pstree: Allocate core entries in pstree item and fetch regs earlier

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 22 06:47:37 EST 2013


On Fri, Feb 22, 2013 at 03:40:28PM +0400, Pavel Emelyanov wrote:
> On 02/20/2013 07:22 PM, Cyrill Gorcunov wrote:
> > 
> > Parasite as a daemon will require the registers to be fetched
> > early before we enter such weird (a bit) mode. Thus bound core
> > entries to pstree item and fetch registers once task and threads
> > are seized.
> 
> You can't do it this way, because once a child of seized task dies,and the
> latter one receives sigchild you'd have to go the let-the-task-handle-signal
> code in ptrace and registers would change.

Hmm, still we can't fetch regs once code moves to parasite daemon mode, thus
can we seize task, then inetrrupt via ptrace and save regirsters?


More information about the CRIU mailing list