[CRIU] collecting unix sockets

CRIU criu criuport at gmail.com
Tue Jun 9 13:50:13 PDT 2015


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/a74a5d64/attachment.html>


More information about the CRIU mailing list