[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1366903930.8964.154.camel@edumazet-glaptop>
Date: Thu, 25 Apr 2013 08:32:10 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Cc: davem@...emloft.net, xiyou.wangcong@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v3 3/4] sock_diag: do not disclose sock ptr to
all users
On Thu, 2013-04-25 at 15:21 +0200, Nicolas Dichtel wrote:
> This is a sensible info, hence we restrict the user allowed to get it.
>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
> ---
> include/linux/sock_diag.h | 3 ++-
> net/core/sock_diag.c | 12 +++++++++---
> net/ipv4/inet_diag.c | 13 ++++++++-----
> net/netlink/diag.c | 5 ++++-
> net/packet/diag.c | 2 +-
> net/unix/diag.c | 14 +++++++++-----
> 6 files changed, 33 insertions(+), 16 deletions(-)
Nack. This was already discussed in the past.
Some people don't want to dump whole table, but use cookie to dump a
particular socket.
--
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