[CRIU] [PATCH 16/17] unix: Add support of ghost sockets
Cyrill Gorcunov
gorcunov at gmail.com
Thu May 3 12:57:41 MSK 2018
On Wed, May 02, 2018 at 11:14:01PM -0700, Andrey Vagin wrote:
> On Fri, Apr 27, 2018 at 02:35:04PM +0300, Cyrill Gorcunov wrote:
> > Unix sockets may be connected via deleted socket name,
> > moreover the name may be reused (ie same sun_addr but
> > different inodes).
> >
> > To be able to handle them we do a few tricks:
> >
> > - when collecting sockets we figure out if "deleted"
> > mark is present on the socket and if such we rename
> > it to a new unique name (~criu-%u format)
>
> Can we cut it off on a second dump/restore iteration?
We analyze indices on next iterations. Or you meant something different?
More information about the CRIU
mailing list