Subject: kern/32261: ntpd and leap seconds
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 12/06/2005 22:05:00
>Number: 32261
>Category: kern
>Synopsis: ntpd and leap seconds
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 06 22:05:00 +0000 2005
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 3.99.13
>Organization:
>Environment:
System: NetBSD kaeru 3.99.13 NetBSD 3.99.13 (build.kaeru.xen.nodebug) #32: Mon Dec 5 07:11:12 JST 2005 takashi@kaeru:/home/takashi/work/kernel/build.kaeru.xen.nodebug i386
Architecture: i386
Machine: i386
>Description:
- when running ntpd, kernel time (microtime/gettimeofday) counts
leap seconds.
- OTOH, the manpage of gettimeofday says that the time is in seconds
and microseconds since the epoch. localtime(3) and its friends
seem to assume that time_t doesn't count leap seconds.
>How-To-Repeat:
>Fix:
>Unformatted: