[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160518211829.GA57390@ast-mbp.thefacebook.com>
Date: Wed, 18 May 2016 14:18:31 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Hannes Frederic Sowa <hannes@...essinduktion.org>,
Daniel Borkmann <daniel@...earbox.net>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net] bpf: rather use get_random_int for randomizations
On Wed, May 18, 2016 at 07:17:48AM -0700, Eric Dumazet wrote:
> On Wed, 2016-05-18 at 15:28 +0200, Hannes Frederic Sowa wrote:
>
> > I don't consider this a big thing, I just mentioned that we probably
> > shouldn't use prandom_u32 if the value somehow could leak to user space
> > and should be used for security.
>
> Yes, I was mostly trying to understand if you had real security issues
> there or some general concerns ;)
agree with Eric. Frankly I wouldn't do it, but since it's a trivial
patch and if it makes security folks less worried then why not.
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists