[libvirt] [PATCH] virrandom: make virRandomInitialize an automatic one-shot

Eric Blake eblake at redhat.com
Mon Aug 6 14:17:43 UTC 2012


On 08/06/2012 03:58 AM, Daniel P. Berrange wrote:
> On Fri, Aug 03, 2012 at 05:26:58PM -0600, Eric Blake wrote:
>> All callers used the same initialization seed (well, the new
>> viratomictest forgot to look at getpid()); so we might as well
>> make this value automatic.  And while it may feel like we are
>> giving up functionality, I documented how to get it back in the
>> unlikely case that you actually need to debug with a fixed
>> pseudo-random sequence.  I left that crippled by default, so
>> that a stray environment variable doesn't cause a lack of
>> randomness to become a security issue.
>>
> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120806/a9db9c31/attachment-0001.sig>


More information about the libvir-list mailing list