[CRIU] collecting unix sockets
Pavel Emelyanov
xemul at parallels.com
Thu Jun 11 09:30:24 PDT 2015
On 06/09/2015 11:50 PM, CRIU criu 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()
Can you shed more light on this? What's the sockets you dump and why the check
for name length makes this to fail?
-- Pavel
More information about the CRIU
mailing list