<div dir="ltr"><div><div>Also, what is needed to dump SOCK_SEQPACKET type external sockets<br><br></div>In dump_external_sockets(), check "peer->type != SOCK_DGRAM" fails for me.<br><br></div><div>Looks like run_plugins(DUMP_UNIX_SK) return -ENOTSUP.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 9, 2015 at 1:50 PM, CRIU criu <span dir="ltr"><<a href="mailto:criuport@gmail.com" target="_blank">criuport@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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 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>I'm working with CRIU v1.5.2, so please let me know if this has changed in the future versions. Thanks!<br><br></div>-Lilo<br></div>
</blockquote></div><br></div>