Re: [lxc-devel] [PATCH] Use actual length of socket's name for abstract sockets (v3)

2013-10-25 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > The addrlen parameter should be the actual length of socket's name for > abstract sockets. Otherwise socket gets padded with NULLs. > > cat /proc/net/unix | grep lxc > [...] > : 0003 0001 03 226548 > @lxc/ad055575fe

[lxc-devel] [PATCH] Use actual length of socket's name for abstract sockets (v3)

2013-10-25 Thread S . Çağlar Onur
The addrlen parameter should be the actual length of socket's name for abstract sockets. Otherwise socket gets padded with NULLs. cat /proc/net/unix | grep lxc [...] : 0003 0001 03 226548 @lxc/ad055575fe28ddd5//var/lib/lxc^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@