[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1366909022.8964.166.camel@edumazet-glaptop>
Date: Thu, 25 Apr 2013 09:57:02 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: 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 18:45 +0200, Nicolas Dichtel wrote:
> I definitely miss the thread about this topic, I will try to find it.
If you think about it, what can possibly the issues ?
Generating a true unique cookie will add a contention point in socket
creation/deletion. [ using an atomic64_t , or idr ]
One possibility was to XOR using a private random (chosen at boot time)
value, but this might be not enough for security guys.
At that time, I decided I was not spending time on this issue.
If you want to do it, make sure you don't respin old stuff and don't
remove existing functionality. Our review time is limited.
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