https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222807

--- Comment #3 from Conrad Meyer <c...@freebsd.org> ---
(In reply to W. Dean Freeman from comment #0)
Re this patch, wouldn't this much smaller change fix the immediate issue?

--- a/sys/sys/random.h
+++ b/sys/sys/random.h
@@ -94,7 +94,7 @@ enum random_entropy_source {
        ENTROPYSOURCE
 };

-#define RANDOM_HARVEST_EVERYTHING_MASK ((1 << (RANDOM_ENVIRONMENTAL_END + 1))
- 1)
+#define RANDOM_HARVEST_EVERYTHING_MASK ((1 << ENTROPYSOURCE) - 1)


Changing the sysctl behaviors seems orthogonal to that change.  Sure, the
sysctls will not accurately reflect Pure sources.  But they will be harvested
correctly, I think.  Please let me know if I misunderstand.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to