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...
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...