mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 18:25:06 -05:00
On 32-bit glibc-based (>=2.34) systems, allow the SOCK client to send messages with timevals using the other time_t size than chrony. If the length of the received message corresponds to the other size, convert the timeval and move the rest of the message before its processing. This is needed for compatibility with the current development version of gpsd, which forces 64-bit time_t on these systems, while chrony needs to be compiled with the same time_t as gnutls.
4.7 KiB
4.7 KiB