OpenSolaris

Printable Version Enter a New Search
Bug ID 6647688
Synopsis ntp_adjtime call incorrectly sets time_freq when also setting the offset
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:syscall
Keywords rtiq_reviewed
Responsible Engineer Brian Utterback
Reported Against snv_80
Duplicate Of
Introduced In solaris_2.6
Commit to Fix snv_82
Fixed In snv_82
Release Fixed solaris_nevada(snv_82)
Related Bugs
Submit Date 7-January-2008
Last Update Date 22-January-2008
Description
The ntp_adjtime call can be used to set various parameters used by the kernel time phase 
locked loop. The primary use is to set the offset, from which the kernel calculates
the correct frequency correction. 

When it is used to set the frequency correction manually at the same time as
the offset, the frequency actually set in the kernel is the new frequency
plus the correction to the frequency that the kernel calculates based on the
offset.
Work Around
Never call ntp_adjtime with both the MOD_OFFSET and MOD_FREQ flags at the same time.
Comments
N/A