Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2023 21:18:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271284] prng32 generators unable to be used
Message-ID:  <bug-271284-227-iRnIkAkBRb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271284-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271284-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271284

--- Comment #2 from Alex Bylund <notbylundzander@gmail.com> ---
I'm not sure what the actual design is supposed to be, but on a new install=
 of
13.1 with ZFS (suspect) this change was needed

diff --git a/sys/sys/module.h b/sys/sys/module.h
index efefaf4cb513..a3cd8aa8756a 100644
--- a/sys/sys/module.h
+++ b/sys/sys/module.h
@@ -254,7 +254,7 @@ extern int mod_debug;
 #endif /* _KERNEL */

 #define        MAXMODNAMEV1V2  32
-#define        MAXMODNAMEV3    MAXPATHLEN
+#define        MAXMODNAMEV3    32
 #define        MAXMODNAME      MAXMODNAMEV3

 struct module_stat {

I'm unable to see with my 13.2 install - I'm unsure if I broke it with upda=
ting
it wrong or something else.

And if anybody is wondering, filling a 64 byte array with pcg32() is about =
the
same speed as using arc4random_buf.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271284-227-iRnIkAkBRb>