Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/cgdconfig cgdconfig.8: Reflect actual behaviour of /dev...



details:   https://anonhg.NetBSD.org/src/rev/ea35d336932f
branches:  trunk
changeset: 973189:ea35d336932f
user:      nia <nia%NetBSD.org@localhost>
date:      Tue Jun 23 13:20:14 2020 +0000

description:
cgdconfig.8: Reflect actual behaviour of /dev/(u)random

diffstat:

 sbin/cgdconfig/cgdconfig.8 |  13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diffs (34 lines):

diff -r 8c14f5f1b81a -r ea35d336932f sbin/cgdconfig/cgdconfig.8
--- a/sbin/cgdconfig/cgdconfig.8        Tue Jun 23 10:09:33 2020 +0000
+++ b/sbin/cgdconfig/cgdconfig.8        Tue Jun 23 13:20:14 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgdconfig.8,v 1.44 2018/12/29 18:34:01 wiz Exp $
+.\" $NetBSD: cgdconfig.8,v 1.45 2020/06/23 13:20:14 nia Exp $
 .\"
 .\" Copyright (c) 2002, The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 27, 2018
+.Dd June 23, 2020
 .Dt CGDCONFIG 8
 .Os
 .Sh NAME
@@ -187,12 +187,9 @@
 and uses the resulting bits as the key.
 This is similar to the
 .Pa randomkey
-method, but it guarantees that cgdconfig will not stall waiting for
-hard-random bits (useful when configuring a cgd for swap at boot time).
-Note, however, that some or all of the bits used to generate the
-key may be obtained from a pseudo-random number generator,
-which may not be as secure as the entropy based hard-random
-number generator.
+method, but it guarantees that cgdconfig will not stall waiting for 256
+bits of entropy from a hardware RNG or seed (useful when configuring a
+cgd for swap at boot time).
 .It shell_cmd
 This method executes a shell command via
 .Xr popen 3



Home | Main Index | Thread Index | Old Index