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^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

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

2013-10-23 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^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

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

2013-10-22 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Hi, > > > On Mon, Oct 21, 2013 at 8:30 PM, Serge Hallyn wrote: > > > 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. > >

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

2013-10-21 Thread S . Çağlar Onur
Hi, On Mon, Oct 21, 2013 at 8:30 PM, Serge Hallyn wrote: > 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 > > [...] > >

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

2013-10-21 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

2013-10-21 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^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@