[CRIU] [PATCH] Fix dumping of /proc folder

Andrei Tuicu andrei.tuicu at gmail.com
Tue Jun 28 00:03:38 PDT 2016


Hi, Cyrill,

Thanks for the feedback! I've resent the patch with the message.

Andrei

2016-06-27 21:50 GMT+03:00 Cyrill Gorcunov <gorcunov at gmail.com>:

> On Sat, Jun 25, 2016 at 11:34:07PM +0300, Andrei Tuicu wrote:
> > Signed-off-by: Andrei Tuicu <andrei.tuicu at gmail.com>
> > ---
> >  criu/files-reg.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/criu/files-reg.c b/criu/files-reg.c
> > index 899dcf6..0fcef6d 100644
> > --- a/criu/files-reg.c
> > +++ b/criu/files-reg.c
> > @@ -975,8 +975,8 @@ static int check_path_remap(struct fd_link *link,
> const struct fd_parms *parms,
> >               if (!start)
> >                       return -1;
> >               start = strstr(start + 1, "/");
> > -             if (!start)
> > -                     return -1;
> > +             if (!start) /* it's /proc */
> > +                     return 0;
> >               pid = strtol(start + 1, &end, 10);
>
> Please explain in changelog message what the problem you're fixing.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160628/02eba553/attachment-0001.html>


More information about the CRIU mailing list