mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 13:45:06 -05:00
In glibc 2.36 was added the arc4random family of functions. However, unlike on other supported systems, it is not a user-space PRNG implementation. It just wraps the getrandom() system call with no buffering, which causes a performance loss on NTP servers due to the function being called twice for each response to add randomness to the RX and TX timestamp below the clock precision. Don't check for arc4random on Linux to keep using the buffered getrandom().
32 KiB
Executable File
32 KiB
Executable File