[Mono-devel-list] Patch for using egd/prngd for random numbers

Bernie Solomon bernard at ugsolutions.com
Tue Apr 27 14:27:11 EDT 2004


OK (I had that at one stage while I was writing it).

Any thoughts on how to pick up the name of the socket? Is the env var
OK? Or should it go in some config file and if so which?

Bernie
----- Original Message ----- 
From: "Miguel de Icaza" <miguel at ximian.com>
To: "Bernie Solomon" <bernard at ugsolutions.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Monday, April 26, 2004 6:08 PM
Subject: Re: [Mono-devel-list] Patch for using egd/prngd for random numbers


> Hello,
> 
> > I've been meaning to send this round for a bit. Here is a patch
> > to enable use of egd or prngd for random numbers for machines
> > without /dev/random. 
> > 
> > It adds an option to configure --with-egd which can be
> > "yes" meaning use the env var MONO_EGD_SOCKET for
> > getting the socket to talk to the daemon, or can be the
> > name of the path to the socket if you want to compile this
> > in as an absolute reference.
> > 
> > Any issues?
> 
> I would build the code always, and only activate it if /dev/random is
> missing and we can talk to the server, as opposed to making it
> configurable.
> 
> Miguel.
> 



More information about the Mono-devel-list mailing list