[PATCH] rand.c updates from FreeBSD RELENG_5

Hiten Pandya hmp at backplane.com
Thu May 13 08:30:09 PDT 2004


William M. Grim wrote:
If you're porting code from 5.x to a 4.x-based OS like DF, you need to
take care because of the different semantics of the /dev/random driver
interface.  OTOH it may make sense for you to port the 5.x /dev/random
driver itself, because it has much better properties including better
entropy gathering and better robustness against entropy starvation.
Kris
I'm not very knowledgable of the code base as a whole, yet.  So, I see 
what you're saying, to an extent.

I think what I've done so far would be good enough to go into DFly, 
pending approval from the community.  Also, beyond this, I would be 
happy to port the /dev/random driver over to DFly.  I can start working 
	Not to scare you, but there are a lot of changes you will
	need to pull in for updating the random interface in DFly
	because of the major differences, stuff like the new TSC
	interface, bintime equivalent and various other functions.	
		-Hiten
		hmp at xxxxxxxxxxxxx




More information about the Submit mailing list