Module Name:    src
Committed By:   riastradh
Date:           Tue Mar 26 10:56:34 UTC 2024

Modified Files:
        src/sys/conf: std

Log Message:
conf/std: Update comment over rnd(4) to reflect current reality.

PR kern/46728


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/conf/std

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/std
diff -u src/sys/conf/std:1.23 src/sys/conf/std:1.24
--- src/sys/conf/std:1.23	Sun Jan 27 02:08:41 2019
+++ src/sys/conf/std	Tue Mar 26 10:56:34 2024
@@ -1,4 +1,4 @@
-# $NetBSD: std,v 1.23 2019/01/27 02:08:41 pgoyette Exp $
+# $NetBSD: std,v 1.24 2024/03/26 10:56:34 riastradh Exp $
 #
 # standard MI 'options'
 #
@@ -51,9 +51,13 @@ options	SCHED_4BSD
 pseudo-device	cpuctl
 
 #
-# Kernel entropy pool and random-number generator pseudodevice.
-# The pseudodevice might stop being "std" when the two are torn
-# apart some day but the entropy pool itself never will (they are
-# presently implemented in the same source file)
+# /dev/random and /dev/urandom interfaces.
+#
+# This could be taken out of conf/std now that the entropy pool and
+# kernel random number generation API is part of kern proper --
+# provided that some care is taken in ensuring that we copy & paste
+# this line in essentially every kernel config, because many
+# applications, even embedded ones, will likely rely in some way or
+# other on reading from /dev/urandom.
 #
 pseudo-device	rnd

Reply via email to