Skip to contentSkip to conversation

UML - Locking commentary in the random driver

PATCH New Jeff Dike 1 participant 1 message Jan 5, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 3/9 UML - Locking commentary in the random driver

Comment the lack of locking.

--

 arch/um/drivers/random.c |    1 +
 1 file changed, 1 insertion(+)
arch/um/drivers/random.c +1 -0
Index: linux-2.6.18-mm/arch/um/drivers/random.c
===================================================================
@@ -78,6 +78,7 @@ static const struct file_operations rng_
 	.read		= rng_dev_read,
 };
 
+/* rng_init shouldn't be called more than once at boot time */
 static struct miscdevice rng_miscdev = {
 	RNG_MISCDEV_MINOR,
 	RNG_MODULE_NAME,

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel