120 Commits (8d357258a93285eb7503d4783b4122da6aa1b2cd)

Author SHA1 Message Date
  deraadt 48ecc0761d the main process must chdir to /, since it cannot have daemon() do the 6 years ago
  deraadt a27b872488 ntpd unveils the cert.pem "r" file (which is passed-over-socket to the 6 years ago
  mestre 7b9d9ca1a6 Revert back previous commit, we have decided that socket files don't cause any 6 years ago
  mestre b448df251e ntpd(8) has logic in place to delete its control socket on shutdown, but it 6 years ago
  reyk 99d11625c1 Stop accessing verbose and debug variables from log.c directly. 7 years ago
  mestre 39fc6c9a98 Remove unused variable which was leaking memory, and while here remove 2 other 8 years ago
  rzalamena 4c66ab656c Teach ntpd(8) constraint process to use exec*() instead of just forking, 8 years ago
  rzalamena 4e462f2ebb Teach ntpd(8) how to use socket status to shutdown the daemon. While at 8 years ago
  rzalamena 1305c0d5de Teach ntpd(8) how to fork+exec. 8 years ago
  reyk 08ed721594 Remove the oh so funny "LOSS OF MIND" from the diclaimer that was not 8 years ago
  semarie 652935dc64 prepare userland for removing chroot(2) from allowed syscalls under pledge(2). 8 years ago
  sthen 4114667275 Remove setproctitle() for the parent process. Because rc.d(8) uses process 8 years ago
  reyk db00298111 Don't attempt to kill() the constraint in the wrong process. The 8 years ago
  bcook fade868be3 update ntpd log initialization to work like relayd, fix debug log levels 8 years ago
  deraadt 73313dce7f sneaky whitespace snuck in again 8 years ago
  millert e33f078c05 Don't assume fprintf() will set the FILE * error condition. 8 years ago
  reyk 97252e04ad Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd. 9 years ago
  claudio d6e39ab1f4 EAGAIN handling for imsg_read. OK henning@ benno@ 9 years ago
  deraadt 531d870924 Cache values from getpwnam() done at initialization, which need to be 9 years ago
  deraadt a4d91af57b Rather than re-opening the driftfile to write, keep it open; rewinding 9 years ago
  reyk 707f923fe3 Move execution of the constraints from the ntp to the parent process. 9 years ago
  deraadt 1ca43f2c14 Change all tame callers to namechange to pledge(2). 9 years ago
  deraadt af212fce6a In the ntpctl(1) case, after it has connect()'d to ntpd we can tame "stdio" 9 years ago
  bcook cdb73978a9 replace bzero with memset 9 years ago
  jmc c58d66510a -s is not optional, sadly; 9 years ago
  reyk 609076da6a Remove dead code (IMSG_HOST_DNS has been moved from the parent to 9 years ago
  reyk 2a9806d4a4 spacing 9 years ago
  reyk 65816fa1ac Don't show the subseconds when displaying the constraint offset. 9 years ago
  reyk 7433fa0bce Add support for "constraints": when configured, ntpd(8) will query the 9 years ago
  bcook dbf887d834 Fix deferred host DNS lookups. 9 years ago
  bcook 709567d845 Use initial assignment of action to check for errors. 9 years ago
  naddy 281ec163e9 Switch drift file format to ppm for compatibility with the ntp.org 9 years ago
  bcook 3f937ba631 bump failure to set the initial time from debug to warning 9 years ago
  bcook 70297880a3 fix some memory leaks in dns handling. 9 years ago
  deraadt eb02123984 remove excessive/wrong use of sys/param.h 9 years ago
  bcook e69bd15d31 sync log.c from smtpd. 9 years ago
  bcook 2b0bc47767 rename sockaddr_un variables from 'sun' to the more common 'sa'. 9 years ago
  bcook d33f0cc042 Add a missing include for time.h to get the definitions of clock_gettime and strftime. 9 years ago
  dtucker c438f027ad Run the serving and privileged ntpd processes at high priority and the 10 years ago
  sthen 8b3ce8e88e typo in errx() string 10 years ago
  benno a6df84bdf5 allow -s<abrev> in addition to -s <word> in ntpctl commandline, like 10 years ago
  deraadt 5d614be5df improve ntpctl usage so that the manual page does not need to be read 10 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 13 years ago
  eric 6f6b8fa1fb don't need to setup the resolver early now that dns lookups are done 14 years ago