unix_diag: Unix socket name NLA
authorPavel Emelyanov <xemul@parallels.com>
Thu, 15 Dec 2011 02:45:24 +0000 (02:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Dec 2011 18:48:28 +0000 (13:48 -0500)
commitf5248b48a64c221dd6157ab9cbee5a36ee45e6ed
treef03c84d11417f77827060f48e1bf09435a28c25b
parent5d3cae8bc39dd38d1aa5fd4bbc788c7b43fcaa71
unix_diag: Unix socket name NLA

Report the sun_path when requested as NLA. With leading '\0' if
present but without the leading AF_UNIX bits.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/unix_diag.h
net/unix/diag.c