[CRIU] [PATCH] dump: Introduce "post-dump" script action

Andrew Vagin avagin at parallels.com
Fri Jul 12 15:31:02 EDT 2013


> > > 
> > > https://bugzilla.openvz.org/show_bug.cgi?id=2583
> > > 
> > > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > > ---
> > >  cr-dump.c | 16 ++++++++++++++++
> > >  1 file changed, 16 insertions(+)
> > > 
> > > diff --git a/cr-dump.c b/cr-dump.c
> > > index 863bffd..b968f0a 100644
> > > --- a/cr-dump.c
> > > +++ b/cr-dump.c
> > > @@ -1717,6 +1717,22 @@ int cr_dump_tasks(pid_t pid)
> > >  err:
> > >  	close_cr_fdset(&glob_fdset);
> > >
> > 
> > Why can not we move it upper than "err:"?
> 
> To close all global file descriptors, is it bad idea?

Ok, sounds reasonable.



More information about the CRIU mailing list