lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 08 Jan 2009 00:39:36 +1030
From:	David Newall <davidn@...idnewall.com>
To:	Chris Adams <cmadams@...aay.net>
CC:	linux-kernel@...r.kernel.org
Subject: Re: Bug: Status/Summary of slashdot leap-second crash on new years
 2008-2009

Chris Adams wrote:
> Once upon a time, David Newall <davidn@...idnewall.com> said:
>   
>> The remaining fly in the ointment, if indeed the NTP client doesn't
>> already do what I've outlined, is that leap seconds aren't reckoned into
>> NTP broadcasts.  As intimated, this is correctable using leap second
>> information from zoneinfo.
>>     
>
> No it isn't; you are still wrong.  Yet again, you are ignoring the
> facts:
>   

Curiously strong opinions when I've already demonstrated otherwise.  On
my system, and possibly also on yours, a time_t, which is what time()
returns, is the number of seconds since epoch; which, in turn, is the
start of 1970.  And on my system, zoneinfo handles leap seconds.

Just saying that I'm wrong is contrary and stubborn since evidence shows
my understanding has been correct from the start.  If you're sure I'm
wrong, take my demonstration and find a flaw.  Otherwise I little value
in your contribution to this discussion.

> - the standards say that time() returns seconds since the epoch in UTC
>   _except_ explicity NOT including leap seconds
>   

Don't believe everything you read.  For example, the time(2) man page
says what POSIX does, but doesn't actually say that Linux also does the
same.  It also says what you paraphrased above, but demonstrably that's
not the case.  Man pages often are wrong in some details.  Hence RTSL.

> - NTP already has a way to distribute leap second information to trusted
>   clients
>   

Yesterday, when I scanned the RFC, it was clear that NTP broadcasts do
not factor leap seconds; that every day has 86400 seconds.  However if
NTP does have a way of distributing leap seconds, other than the almost
pointless leap-second flag, then that's great.     If it doesn't (which
is what I understand), there's no problem anyway (as explained.)

>> However it is now clear that no special kernel support is required for
>> leap-seconds, and any such code that's been incorporated needs to be
>> removed.  Removed I say!
>>     
>
> And you are wrong.
>   

So you say, but you have no code to back you  up, whereas I do.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ