Comment 2 for bug 498439

Revision history for this message
shawnlandden (shawnlandden) wrote :

the way towards fixing this bug would involve

clock_gettime(CLOCK_MONOTONIC_RAW, const struct timespec *monotonictime);

which is linux 2.6.28+ specific, and is not subject to change due to ntpdate and friends.

see man 2 clock_gettime

I'm not sure we should just replace sysinfo->uptime however, cause the inaccuracy of hardware clocks...