Skip to content

rng-tools bug fix update

Compare
Choose a tag to compare
@nhorman nhorman released this 16 Dec 13:53
· 221 commits to master since this release

rng-tools bug fix update, addressing the following minor issues:

  • Improve interlock between main rngd thread, and jitterentropy threads during startup/shutdown to avoid deadlock/unneeded latency

  • Avoid writing to write_wakeup_threshold when no specific threshold is set (allowing for separate services to preform this task without warnings from rngd)

  • Enhance logging to more clearly indicate which entropy source is issuing a given log message

  • Daemonize earlier, thereby avoiding early thread exit, which in turn leads to additional latency on shutdown

  • Allow for immediate thread shutdown in jitter - By using sigsetjmp/siglongjmp, threads can exit, even when blocking in the jitter library