kern/106726: ntp functions return wrong values
Judah Levine
jlevine at boulder.nist.gov
Thu Dec 14 11:31:54 PST 2006
>Number: 106726
>Category: kern
>Synopsis: ntp functions return wrong values
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 14 19:30:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Judah Levine
>Release: 6.1
>Organization:
NIST/University of Colorado
>Environment:
FreeBSD lap.colorado.edu 6.1-RELEASE /usr/src/sys/i386/compile/LAP
The system is a standard Dell system with full 6.1 installation from the CDs.
>Description:
The system calls ntp_gettime() and ntp_adjtime() return incorrect values. This problem is new to 6.1 -- the same subroutines called from the identical user program worked correctly in 5.1, the previous version that I was using.
I reported this problem directly to poul-henning kamp some time ago, but I have not had a reply.
I am prepared to try and fix the problem myself, but I think the problem is in ntp_gettime(), which I think is in libc. I have all of the CDs but I can't find the source code for libc. Can you tell me where this code is located?
>How-To-Repeat:
A call to ntp_gettime will return the status of the call rather than the status of the clock, which is how it is supposed to work. the return status is -1 with an errno of 55.
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list