82 Commits (e69bd15d314f901a0ce9c21bba9873edc491d5d5)

Author SHA1 Message Date
  bcook e69bd15d31 sync log.c from smtpd. 10 years ago
  bcook 2b0bc47767 rename sockaddr_un variables from 'sun' to the more common 'sa'. 10 years ago
  bcook d33f0cc042 Add a missing include for time.h to get the definitions of clock_gettime and strftime. 10 years ago
  dtucker c438f027ad Run the serving and privileged ntpd processes at high priority and the 11 years ago
  sthen 8b3ce8e88e typo in errx() string 11 years ago
  benno a6df84bdf5 allow -s<abrev> in addition to -s <word> in ntpctl commandline, like 11 years ago
  deraadt 5d614be5df improve ntpctl usage so that the manual page does not need to be read 11 years ago
  benno b7644de136 from sthen: handle msgbuf_write() returning EAGAIN 11 years ago
  jmc 1ceaa18b3a tidy up the "modifier" list a little and sync usage(); 11 years ago
  deraadt 27354bc9e5 improve ntpctl argv parsing 11 years ago
  deraadt cfa24d6ccc shorten output; ok henning phessler 11 years ago
  schwarze c595a4fa35 Tweak previous: 11 years ago
  phessler 36ee6e401f Add ntpctl(8), which allows us to query the locally running ntpd(8) process 11 years ago
  okan 59189da029 use timerclear macro 14 years ago
  eric 6f6b8fa1fb don't need to setup the resolver early now that dns lookups are done 15 years ago
  nicm 62564ff79f Rename some imsg bits to make namespace collisions less likely buf to 15 years ago
  pyr 239fd25471 make ntpd imsg-in-a-lib ready as well. extensive testing done, no 16 years ago
  henning 847353da0b no we don't need endpwent 16 years ago
  stevesk 75af6f507d log tiny frequency adjustments at debug only. 16 years ago
  stevesk d48f49351f rename a #define to be clearer; no binary change 16 years ago
  stevesk 5e5980c0aa log warning when can't read drift file; allows detection of 16 years ago
  claudio 3024525a7d Use errx instead of fprintf, exit combo. 16 years ago
  ckuethe 51e14636f6 Allow ntpd to step the time at startup, now matter how large or small the 17 years ago
  pyr 69c0857e6a ntpd missed the argument check sweep. 17 years ago
  henning 3020799cfb we must reset the poll timeout to INFTIM when receiving the IMSG_SETTIME 17 years ago
  stevesk f0b6a351e5 log a warning one time when we can't open or write the drift file; 17 years ago
  stevesk 55917fac67 just call getpwnam(NTPD_USER) once; ok henning@ 17 years ago
  fgsch 6cdd0c813d revert SIGQUIT catching; requested by deraadt 17 years ago
  fgsch 5d7a07e45a catch SIGQUIT too. ckuethe@ and henning@ ok. 17 years ago
  otto 40598298ed if the drift file is missing, reset adjfreq to zero; iirc diff from Glaser 17 years ago
  jmc 121bce7837 add -n to usage(); 17 years ago
  pyr 90f5650e4c Provide the -n switch like in the other imsg daemons for testing 17 years ago
  ckuethe 05c8b9ebe9 Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUG 17 years ago
  otto 1f8bd32eb8 Although Unix compilers accept more than one definition of a global 18 years ago
  deraadt 9801d84234 spaces 19 years ago
  otto 7c32f0a09d don't write anything to log until we are daemonized. spotted by 19 years ago
  otto 2e46737551 Reset adjtime() on startup; having an adjtime() active while starting 19 years ago
  otto 041bde21e5 Save the computed clock drift and use it on startup. ok deraadt@ 19 years ago
  otto 8746f65b53 avoid a race by installing SIGCHLD handler before fork() is called. 19 years ago
  otto abf6b82fcd Import frequency conrrection code from dragonfly, whith some changes: 19 years ago
  otto 89f43414db Compensate old offsets with the amount of adjustment done, avoiding 19 years ago
  stevesk b020f35b9f handle -1 return from host_dns(); ok henning@ 19 years ago
  wvdputte 33dc34f1c7 when running ntpd with "-s" as it's argument from /etc/rc.conf, make sure the 19 years ago
  dtucker 98e724b50a More descriptive error if a signal causes the child to exit; ok henning@ 20 years ago
  henning a16f15c2c3 use a #define for the time to wait on -s and clarify a log msg 20 years ago
  henning ed37b625d3 use a little state engine to keep track of delayed dns lookups and such, 20 years ago
  dtucker f5ecdec08b Ensure previous adjust has completed before clearing alarm flag; ok henning@ 20 years ago
  henning 3ce098c434 extra paranoia, from a discussion with joerg 20 years ago
  henning 4395949868 zap includes, grunk 20 years ago
  henning 79255b7f6b fatal vs fatalx, Alexander von Gernler 20 years ago