Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171623761
D16872.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.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
Sun, Sep 13, 6:28 AM (1 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38837899
Default Alt Text
D16872.diff (488 B)
Attached To
Mode
D16872: Fix excessive reseed rate in random(4).
Attached
Detach File
Event Timeline
Log In to Comment