346 Commits (ed8a0556b143d991f804f7145f293fa1dfecef84)

Author SHA1 Message Date
  otto 66f330d94f Normalize tv so that tv_usec is positive. The kernel also normalizes, 18 years ago
  ckuethe 67b5aa4d57 Increase sensor polling interval to 30s, just like ntp polls. This 18 years ago
  henning 0b2f522118 when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do not 18 years ago
  henning fcd399814f read buffer size must be >= max imsg size. 18 years ago
  otto 8609f91a61 xref adjfreq(2); from Igor Zinovik 18 years ago
  claudio 3b46e875e2 Typo in fatal() message found by dunceor @ gmail dot com 18 years ago
  henning 5a0d6270be the new sensors tre can give us the number of sensors per type. 18 years ago
  otto 1f8bd32eb8 Although Unix compilers accept more than one definition of a global 18 years ago
  otto 4116dad0a1 Esape from the Mouth of Madness by adjusting stored sensor offsets 18 years ago
  otto 7690556ff8 Add some comments on the expresssion which converts sensor timedeltas 18 years ago
  naddy 6c7f751ad1 forgot a dereference in the previous conversion; ok deraadt@ 18 years ago
  deraadt 44cfc5dfde adapt to new two-level sensor sysctl framework; by Constantine A. Murenin 18 years ago
  henning 0cb81b5488 let ntpd use sensors immediately after system boot by special casing 18 years ago
  ckuethe e0df755dbd Allow sensors in a sensors-only configuration to set the time at startup. 18 years ago
  henning a4d68a0292 with usig the meadian offset froma number of measurements the recording 18 years ago
  henning 4f07972cbe use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing 18 years ago
  henning f5c6db18a7 timedelta sensors are usually updated very often, but we used to query 18 years ago
  henning 9e886819ac in client_nextaddr, check fd != -1 before close, just nicer this way 18 years ago
  henning 431920cccf Found that even if client fd (i.e to NTP source) is set to 18 years ago
  henning 43bb2c0b5f when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETIC 18 years ago
  henning 8031d5c7e5 EADDRNOTAVAIL after connect is one of the soft errors where we don't abort 18 years ago
  henning 153642fa72 need to call adjtime once in a while here too, otherwise sensor-only 18 years ago
  henning 988040972e internally, ntpd doesn't work with absolute offsets to system time, but 18 years ago
  stevesk 70c89238ab use 'weight-value' vs. 'offset' for the weight argument; 18 years ago
  deraadt bcbd2043ec strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by pierre-yves@spootnik.org 18 years ago
  henning 031b227392 make sure updates from sensors have the "synced" flag set 18 years ago
  otto b10a9a26fe remove some unneeded includes; one found by vetinari 18 years ago
  deraadt 9801d84234 spaces 18 years ago
  otto 7c32f0a09d don't write anything to log until we are daemonized. spotted by 18 years ago
  otto 45a03a18d6 increase polling intervbal, but only after we are synced and have done 18 years ago
  otto 2e46737551 Reset adjtime() on startup; having an adjtime() active while starting 18 years ago
  otto 68bc275e60 Document /var/db/ntpd.drift; ok jmc@ 18 years ago
  otto 041bde21e5 Save the computed clock drift and use it on startup. ok deraadt@ 18 years ago
  otto 8746f65b53 avoid a race by installing SIGCHLD handler before fork() is called. 18 years ago
  otto 086410730e tsk, tsk, tsk... the rule is simple: any define consisting of 18 years ago
  otto abf6b82fcd Import frequency conrrection code from dragonfly, whith some changes: 18 years ago
  otto c01a2e9569 set session id and init logging in -s mode. tested by david@ and matthieu@; 18 years ago
  otto 24133ce79c simplify; ok henning@ 18 years ago
  otto 89f43414db Compensate old offsets with the amount of adjustment done, avoiding 18 years ago
  otto 24fa8ea878 Only invalidate stored replies if an adjustment was really made. 18 years ago
  henning 9be86cfc22 just ise "HARD" as refid with sensors for v3 clients 18 years ago
  henning 216ee11434 incredibly stupid typo 18 years ago
  otto fc47aa1fcc even though the bounds are long long having an upper bound of 18 years ago
  otto 5ca49f4a5e When expanding servers, do not forget to copy weight. ok henning@ 18 years ago
  henning 1110d359db urgs, other stuff snuck in 18 years ago
  henning 5a53deb317 do not use /dev/hotplug for now, only one reader supported yet 18 years ago
  henning baf806507d put back regular sensors scanning 18 years ago
  henning eea91760ae only actually run sensor_query when it is due, not every time poll returns 18 years ago
  ckuethe 9325c20f99 When ntpd backs off polling due to a negative delay, tell the user how long 18 years ago
  jmc 0d1cb4cfe1 better wording for the "weight" section; 18 years ago