Commit 7bd369b1 authored by Matt Mackall's avatar Matt Mackall Committed by Chris Wright
Browse files

[PATCH] random: fix seeding with zero entropy (CVE-2007-2453 2 of 2)



Add data from zero-entropy random_writes directly to output pools to
avoid accounting difficulties on machines without entropy sources.

Tested on lguest with all entropy sources disabled.

Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Acked-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent 374f167d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment