[PATCH v1] seedrng.c: fix clock_gettime support for older kernels and glibc combinations
Michael Tokarev
mjt at tls.msk.ru
Sat Jan 20 10:12:41 UTC 2024
19.01.2024 16:30, Thomas Devoogdt :
> CLOCK_BOOTTIME has been added in Linux >= 2.6.39,
> so fallback to CLOCK_MONOTONIC on older kernels.
>
> Also, ensure proper compilation with older glibc versions.
Why do you care about such old kernels?
To me, it would be better to clean up such old fallbacks, remove
support for, say, kernels <3.x or <4.x (like, for example,
modutils compatibility can be removed entirely), instead of
adding new fallbacks..
/mjt
More information about the busybox
mailing list