[ntp:questions] ntpdate.c unsafe buffer write

Serge Bets serge.bets at NOSPAM.laposte.invalid
Tue Feb 12 10:23:12 UTC 2008

Hello David,

 On Tuesday, February 12, 2008 at 2:43:06 +0000, David L. Mills wrote:

> Just for clarity, neither the daemon nor kernel frequency is adjusted
> in any way with ntpd -q.

ntpd -q can make use of the driftfile to set the kernel frequency:

| # ntpd -q -d | grep frequency
| addto_syslog: frequency initialized -1.752 PPM from /var/lib/ntp/ntp.drift

Note that this is plain necessary for the correct operations of ntpd -q.
If the kernel frequency was not initialised, then a slew would not end
right on the zero offset.

Serge point Bets arobase laposte point net

More information about the questions mailing list