<div dir="ltr"><div>So I looked at the code of the application I'm running. These are socketpair(SOCK_SEQPACKET) . I modified the code to dump them similar to SOCK_DGRAM. However, looks like this cannot be done. As mentioned on CRIU wiki, because of these being nameless the check in the kernel fails.<br></div>Let me know if you need more info. Also, any pointers on how to fix this? Thanks for your help Pavel!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 9:30 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/09/2015 11:50 PM, CRIU criu wrote:<br>
> Hi,<br>
><br>
> In collect_one_unixsk(), CRIU checks for ui->ue->name.len >= UNIX_PATH_MAX<br>
><br>
> However, the kernel checks for len <= sizeof(short) || len > sizeof(*sunaddr) in<br>
. unix_mkname() for unix_stream_connect() type sockets.<br>
><br>
> Because of the mismatch, I see "Can't connect %#x socket" error in post_open_unix_sk()<br>
<br>
</span>Can you shed more light on this? What's the sockets you dump and why the check<br>
for name length makes this to fail?<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Pavel<br>
<br>
</font></span></blockquote></div><br></div>