]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9064a1b55e5fd9b8d0aa3205dadd64436c60c9f8
treef03c84d11417f77827060f48e1bf09435a28c25b
parent94369b97fcd87ab29a6b22db93afd05b25c40cca
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