[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131217.163859.881643028001329684.davem@davemloft.net>
Date: Tue, 17 Dec 2013 16:38:59 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: yamato@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: show protocol type in sockprotoname of fdinfo
From: Masatake YAMATO <yamato@...hat.com>
Date: Mon, 16 Dec 2013 16:19:41 +0900
> In 600e177920df936d03b807780ca92c662af98990 "system.sockprotoname"
> xattrs is added to sockets enumerated under /proc/$PID/fd.
> It is intended mainly to be used from lsof.
>
> The patch was accepted. However, I think using xattrs under procfs is
> special hack for lsof. Normally the user of procfs may want to use cat
> command(or write syscall) to retrieve informations from the fs.
>
> This patch introduces "sockprotoname" field to /proc/PID/fdinfo of socket.
> So the user can use cat command to retrieve the protocol information.
>
> Signed-off-by: Masatake YAMATO <yamato@...hat.com>
We're not providing multiple ways of doing the same thing, people
should have considered things more completely when the original
patch was proposed.
Sorry.
--
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