[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111204.132510.1708510157080644595.davem@davemloft.net>
Date: Sun, 04 Dec 2011 13:25:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: xemul@...allels.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH 2/2] unix: Add /proc/net/unix_peers file
From: Pavel Emelyanov <xemul@...allels.com>
Date: Thu, 01 Dec 2011 21:42:06 +0400
> Currently it's not possible to find out what processes are connected
> to each other via a unix socket. In the proposed proc file a socket
> inode number and its peer inode number are shown. With these two at
> hands it's possible to determine the unix connections endpoints.
>
> Signed-off-by: Pavel Emelyanov <xemul@...allels.com>
I'm basically against new networking procfs based information
retrieval mechanisms.
Please extend the netlink socket dumping so that it works with
AF_UNIX sockets and subsequently added the necessary netlink
attribute to provide the peer value.
I plan to stand pretty firm on this, so you may want to save your
effort and use said effort to implement this properly.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists