Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167413923
D16872.id47234.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
488 B
Referenced Files
None
Subscribers
None
D16872.id47234.diff
View Options
Index: head/sys/dev/random/fortuna.c
===================================================================
--- head/sys/dev/random/fortuna.c
+++ head/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
Sat, Aug 22, 3:11 PM (22 m, 43 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37040806
Default Alt Text
D16872.id47234.diff (488 B)
Attached To
Mode
D16872: Fix excessive reseed rate in random(4).
Attached
Detach File
Event Timeline
Log In to Comment