[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210329141809.GA20909@hoboy.vegasvil.org>
Date: Mon, 29 Mar 2021 07:18:09 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Daphne Preston-Kendal <dpk@...ceword.org>
Cc: Miroslav Lichvar <mlichvar@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
John Stultz <john.stultz@...aro.org>,
"Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
Subject: Re: [Bug 212265] New: clock_gettime(CLOCK_TAI, ...) should return an
error when TAI has not been configured
On Mon, Mar 29, 2021 at 11:56:31AM +0200, Daphne Preston-Kendal wrote:
> > The other is that the kernel updates the offset when a leap
> > second is inserted/deleted even if the original offset is zero, so
> > checking for zero (in the kernel or an application) works only until
> > the first leap second after boot.
>
> This is a problem and definitely speaks for having a way to tell whether CLOCK_TAI has been set up at all.
+1
Thanks,
Richard
Powered by blists - more mailing lists