[CRIU] collecting unix sockets

CRIU criu criuport at gmail.com
Tue Jun 9 14:03:45 PDT 2015


Also, what is needed to dump SOCK_SEQPACKET type external sockets

In dump_external_sockets(), check "peer->type != SOCK_DGRAM" fails for me.

Looks like run_plugins(DUMP_UNIX_SK) return -ENOTSUP.


On Tue, Jun 9, 2015 at 1:50 PM, CRIU criu <criuport at gmail.com> wrote:

> Hi,
>
> In collect_one_unixsk(), CRIU checks for ui->ue->name.len >= UNIX_PATH_MAX
>
> However, the kernel checks for len <= sizeof(short) || len >
> sizeof(*sunaddr)  in unix_mkname() for unix_stream_connect() type sockets.
>
> Because of the mismatch, I see "Can't connect %#x socket" error in
> post_open_unix_sk()
>
> I'm working with CRIU v1.5.2, so please let me know if this has changed in
> the future versions. Thanks!
>
> -Lilo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150609/f1b1db14/attachment.html>


More information about the CRIU mailing list