[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180829084151.19fb9ef7@xeon-e3>
Date: Wed, 29 Aug 2018 08:41:51 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [Patch iproute2] ss: add UNIX_DIAG_VFS and UNIX_DIAG_ICONS for
unix sockets
On Tue, 28 Aug 2018 16:16:49 -0700
Cong Wang <xiyou.wangcong@...il.com> wrote:
> On Mon, Aug 27, 2018 at 3:27 PM Stephen Hemminger
> <stephen@...workplumber.org> wrote:
> >
> > On Mon, 27 Aug 2018 14:46:52 -0700
> > Cong Wang <xiyou.wangcong@...il.com> wrote:
> >
> > > UNIX_DIAG_VFS and UNIX_DIAG_ICONS are never used by ss,
> > > make them available in ss -e output.
> > >
> > > Cc: Stephen Hemminger <stephen@...workplumber.org>
> > > Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
> > > ---
> > > misc/ss.c | 25 +++++++++++++++++++++++++
> > > 1 file changed, 25 insertions(+)
> > >
> > > diff --git a/misc/ss.c b/misc/ss.c
> > > index 41e7762b..d28bc1ec 100644
> > > --- a/misc/ss.c
> > > +++ b/misc/ss.c
> > > @@ -16,6 +16,7 @@
> > > #include <sys/ioctl.h>
> > > #include <sys/socket.h>
> > > #include <sys/uio.h>
> > > +#include <sys/sysmacros.h>
> >
> > Why is this included, it isn't on my system.
>
> It is for major() and minor().
Ok on Debian, these are in the architecture include, so this will work fine.
Powered by blists - more mailing lists