Subject: bin/30321: fsirand(8) man page correction
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <jeffi@rcn.com>
List: netbsd-bugs
Date: 05/24/2005 14:23:01
>Number:         30321
>Category:       bin
>Synopsis:       fsirand(8) man page correction
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 24 14:23:01 +0000 2005
>Originator:     Jeff Ito
>Release:        NetBSD 3.99.5
>Organization:
>Environment:
NetBSD lab 3.99.5 NetBSD 3.99.5 (GENERIC) #5: Mon May 23 13:51:29 EDT 2005 
>Description:
as of revision 1.22, fsirand.c uses arc4random() rather than random(), the security consideration section in the man page suggesting poor random number generation can probably be removed.
>How-To-Repeat:
n/a
>Fix:
Index: fsirand.8
===================================================================
RCS file: /export/cvs/netbsd/src/sbin/fsirand/fsirand.8,v
retrieving revision 1.7
diff -u -r1.7 fsirand.8
--- fsirand.8   16 Nov 2001 04:25:43 -0000      1.7
+++ fsirand.8   24 May 2005 14:17:26 -0000
@@ -87,6 +87,3 @@
 .Sh SEE ALSO
 .Xr fsck_ffs 8 ,
 .Xr newfs 8
-.Sh SECURITY CONSIDERATIONS
-The current implementation does not use a good random number generator,
-so the randomization can be predicted.