Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177130415
D16866.1793853752.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
473 B
Referenced Files
None
Subscribers
None
D16866.1793853752.diff
View Options
Index: sys/dev/random/fortuna.c
===================================================================
--- sys/dev/random/fortuna.c
+++ sys/dev/random/fortuna.c
@@ -371,7 +371,7 @@
if (fortuna_state.fs_pool[0].fsp_length >= fortuna_state.fs_minpoolsize
#ifdef _KERNEL
/* FS&K - Use 'getsbinuptime()' to prevent reseed-spamming. */
- && (now - fortuna_state.fs_lasttime > hz/10)
+ && (now - fortuna_state.fs_lasttime > SBT_1S/10)
#endif
) {
#ifdef _KERNEL
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 5, 4:42 AM (7 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41456108
Default Alt Text
D16866.1793853752.diff (473 B)
Attached To
Mode
D16866: Fix excessive reseeding in random(4).
Attached
Detach File
Event Timeline