Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-27 Thread Daniel Borkmann
On 03/27/2014 10:18 AM, Hannes Frederic Sowa wrote: On Thu, Mar 27, 2014 at 10:04:03AM +0100, Daniel Borkmann wrote: On 03/27/2014 03:21 AM, Hannes Frederic Sowa wrote: On Wed, Mar 26, 2014 at 07:35:01PM -0400, Sasha Levin wrote: On 03/26/2014 07:18 PM, Daniel Borkmann wrote: On 03/26/2014 06

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-27 Thread Hannes Frederic Sowa
On Thu, Mar 27, 2014 at 10:04:03AM +0100, Daniel Borkmann wrote: > On 03/27/2014 03:21 AM, Hannes Frederic Sowa wrote: > >On Wed, Mar 26, 2014 at 07:35:01PM -0400, Sasha Levin wrote: > >>On 03/26/2014 07:18 PM, Daniel Borkmann wrote: > >>>On 03/26/2014 06:12 PM, Sasha Levin wrote: > Commit 4af7

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-27 Thread Daniel Borkmann
On 03/27/2014 03:21 AM, Hannes Frederic Sowa wrote: On Wed, Mar 26, 2014 at 07:35:01PM -0400, Sasha Levin wrote: On 03/26/2014 07:18 PM, Daniel Borkmann wrote: On 03/26/2014 06:12 PM, Sasha Levin wrote: Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool beco

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Hannes Frederic Sowa
On Wed, Mar 26, 2014 at 07:35:01PM -0400, Sasha Levin wrote: > On 03/26/2014 07:18 PM, Daniel Borkmann wrote: > >On 03/26/2014 06:12 PM, Sasha Levin wrote: > >>Commit 4af712e8df ("random32: add prandom_reseed_late() and call when > >>nonblocking pool becomes initialized") has added a late reseed st

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Daniel Borkmann
On 03/27/2014 12:35 AM, Sasha Levin wrote: On 03/26/2014 07:18 PM, Daniel Borkmann wrote: On 03/26/2014 06:12 PM, Sasha Levin wrote: Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a late reseed stage that happens as soon as

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Sasha Levin
On 03/26/2014 07:18 PM, Daniel Borkmann wrote: On 03/26/2014 06:12 PM, Sasha Levin wrote: Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a late reseed stage that happens as soon as the nonblocking pool is marked as initializ

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Daniel Borkmann
On 03/26/2014 06:12 PM, Sasha Levin wrote: Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a late reseed stage that happens as soon as the nonblocking pool is marked as initialized. This fails in the case that the nonblocking

Re: [PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Hannes Frederic Sowa
On Wed, Mar 26, 2014 at 01:12:38PM -0400, Sasha Levin wrote: > Commit 4af712e8df ("random32: add prandom_reseed_late() and call when > nonblocking pool becomes initialized") has added a late reseed stage > that happens as soon as the nonblocking pool is marked as initialized. > > This fails in the

[PATCH] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Sasha Levin
Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a late reseed stage that happens as soon as the nonblocking pool is marked as initialized. This fails in the case that the nonblocking pool gets initialized during __prandom_resee