Re: Reading large amounts from /dev/urandom broken

2014-08-12 Thread Pavel Machek
On Sun 2014-08-10 14:51:08, Andrey Utkin wrote: > 2014-08-09 10:45 GMT+03:00 Pavel Machek : > > Warn about my quick benchmark? > > > > http://atrey.karlin.mff.cuni.cz/~pavel/quickbench.html > > > > I don't see what is insane about it. Yes, there might be more > > effective generators of random bits

Re: Reading large amounts from /dev/urandom broken

2014-08-10 Thread Andrey Utkin
2014-08-09 10:45 GMT+03:00 Pavel Machek : > Warn about my quick benchmark? > > http://atrey.karlin.mff.cuni.cz/~pavel/quickbench.html > > I don't see what is insane about it. Yes, there might be more > effective generators of random bits, but that is not the point, this > is quick&dirty attempt at

Re: Reading large amounts from /dev/urandom broken

2014-08-09 Thread Pavel Machek
Hi! > I've inquired on the bugzilla why the reporter is abusing urandom in > this way. The other commenter on the bug replicated the problem, but > that's not a "second bug report" in my book. > > At the very least, this will probably cause me to insert a warning > printk: "insane user of /dev/u

Re: Reading large amounts from /dev/urandom broken

2014-07-24 Thread Alex Elsayed
Hannes Frederic Sowa wrote: > On Mi, 2014-07-23 at 11:14 -0400, Theodore Ts'o wrote: >> On Wed, Jul 23, 2014 at 04:52:21PM +0300, Andrey Utkin wrote: >> > Dear developers, please check bugzilla ticket >> > https://bugzilla.kernel.org/show_bug.cgi?id=80981 (not the initial >> > issue, but starting

Re: Reading large amounts from /dev/urandom broken

2014-07-23 Thread Hannes Frederic Sowa
On Mi, 2014-07-23 at 11:14 -0400, Theodore Ts'o wrote: > On Wed, Jul 23, 2014 at 04:52:21PM +0300, Andrey Utkin wrote: > > Dear developers, please check bugzilla ticket > > https://bugzilla.kernel.org/show_bug.cgi?id=80981 (not the initial > > issue, but starting with comment#3. > > > > Reading fr

Re: Reading large amounts from /dev/urandom broken

2014-07-23 Thread Theodore Ts'o
On Wed, Jul 23, 2014 at 04:52:21PM +0300, Andrey Utkin wrote: > Dear developers, please check bugzilla ticket > https://bugzilla.kernel.org/show_bug.cgi?id=80981 (not the initial > issue, but starting with comment#3. > > Reading from /dev/urandom gives EOF after 33554431 bytes. I believe > it is

Re: Reading large amounts from /dev/urandom broken

2014-07-23 Thread Hannes Frederic Sowa
Hi Andrey, thanks for the heads up! On Mi, 2014-07-23 at 16:52 +0300, Andrey Utkin wrote: > Dear developers, please check bugzilla ticket > https://bugzilla.kernel.org/show_bug.cgi?id=80981 (not the initial > issue, but starting with comment#3. > > Reading from /dev/urandom gives EOF after 33554

Reading large amounts from /dev/urandom broken

2014-07-23 Thread Andrey Utkin
Dear developers, please check bugzilla ticket https://bugzilla.kernel.org/show_bug.cgi?id=80981 (not the initial issue, but starting with comment#3. Reading from /dev/urandom gives EOF after 33554431 bytes. I believe it is introduced by commit 79a8468747c5f95ed3d5ce8376a3e82e0c5857fc, with the ch