https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238223
Conrad Meyer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |[email protected] Assignee|[email protected] |[email protected] --- Comment #1 from Conrad Meyer <[email protected]> --- Weird, I guess you're using RANDOM_LOADABLE? The implementation is trivially broken (my fault) in r346282. Fix is: --- a/sys/dev/random/random_infra.c +++ b/sys/dev/random/random_infra.c @@ -198,9 +198,12 @@ read_random(void *buf, u_int len) bool is_random_seeded(void) { + bool result; + RANDOM_CONFIG_S_LOCK(); - random_reader_context.is_random_seeded(); + result = random_reader_context.is_random_seeded(); RANDOM_CONFIG_S_UNLOCK(); + return (result); } -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
