Re: NTP leap second question

From: Alan Cox
Date: Fri Sep 16 2005 - 20:27:45 EST


> Eh?? Then what is one to make of the code in timer.c that add
> leapseconds? It seems to be controlled by the adjtime() system call.
>
> Sure looks like it sets the system clock (xtime) ahead or back by a
> second at midnight if the flag is set to do so.

Yes it supports that - but since nobody runs the system clock in GMT it
should never be getting set by any caller. At least as far as I can see
from the code in glibc any glibc using system should never have xntpd
set the flag

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/