On Tue, 18 Jul 2017 17:18:06 +0100
Stefan Hajnoczi <stefa...@redhat.com> wrote:

> I am implementing userspace access to socket information for AF_VSOCK.
> A few hours into writing and testing a /proc/net/vsock seq_file I
> noticed that ss(8) prefers NETLINK_SOCK_DIAG over procfs.
> 
> Before potentially wasting time implementing a legacy interface that
> won't be accepted, I thought it might be good to ask :).
> 
> Which approach is preferred?
> 1. New address families must implement only sock_diag.
> 2. Both sock_diag and procfs must be implemented.
> 3. Implement whichever interface you prefer.
> 
> Thanks,
> Stefan

You are correct, I am unlikely to take any new code using /proc
in ss.

Attachment: pgpdsRBh9zhLR.pgp
Description: OpenPGP digital signature

Reply via email to