summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/util.c
AgeCommit message (Expand)Author
2017-03-01*nargv[] holds an array of pointers, so it should beGleydson Soares
2016-10-03Fix a possible bug that will happen with dup2() when oldd == newd. In thatRafael Zalamena
2016-09-14Teach ntpd(8) how to fork+exec.Rafael Zalamena
2016-09-14Fix copyright disclaimer in util.c.Reyk Floeter
2015-12-19Move log_sockaddr() to from log.c to util.c as it is a local additionReyk Floeter
2015-03-28Avoid overflow on 32-bit time_t systems converting timeval to NTP time.Brent Cook
2015-02-10spacingReyk Floeter
2015-02-10Add support for "constraints": when configured, ntpd(8) will query theReyk Floeter
2015-01-04Add a missing include for time.h to get the definitions of clock_gettime and ...Brent Cook
2013-10-15Remove stray (long) cast of value being assigned to tv_secs.Kenneth R Westerback
2011-09-21Add rdomain support to NTPd.Peter Hessler
2007-03-27Normalize tv so that tv_usec is positive. The kernel also normalizes,Otto Moerbeek
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-11-12some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>Henning Brauer
2004-07-10short fixed point <-> double conversion routines; ok henning@Alexander Guy
2004-07-07help the compiler a bit with a cast, spotted by theoHenning Brauer
2004-07-07* Convert to use the new double-based time handling functions.Alexander Guy
2004-07-07Endian conversion mistakenly done before fraction math; ok henning@Alexander Guy
2004-07-05use correct multiplier for us -> s conversionOtto Moerbeek
2004-07-05calculate the median offset from all servers we sync to and callHenning Brauer
2004-07-04KNFHenning Brauer
2004-07-04Compute the local clock offset from the server's response.Alexander Guy