Re: Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009

Robert Hancock
2009-01-02T20:26:15Z

Diego Calleja wrote:
> El Fri, 2 Jan 2009 13:25:38 -0600, "Linas Vepstas" <linasvepstas@gmail.com> escribió:
>
>> Suspect its an kernel race condition triggered by ntp bumping the second.
>
> How could I create a test case that reproduces what ntp does? Just add
> a second?

I'd think that setting the clock to just before midnight on Dec.31 and
using the adjtimex syscall to set the TIME_INS state on the clock, then
waiting until midnight rolls around would be a reasonable test..