summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.c
AgeCommit message (Expand)Author
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
2016-01-27Don't attempt to kill() the constraint in the wrong process. TheReyk Floeter
2016-01-27update ntpd log initialization to work like relayd, fix debug log levelsBrent Cook
2016-01-11sneaky whitespace snuck in againTheo de Raadt
2015-12-29Don't assume fprintf() will set the FILE * error condition.Todd C. Miller
2015-12-19Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.Reyk Floeter
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-11-24Cache values from getpwnam() done at initialization, which need to beTheo de Raadt
2015-10-23Rather than re-opening the driftfile to write, keep it open; rewindingTheo de Raadt
2015-10-12Move execution of the constraints from the ntp to the parent process.Reyk Floeter
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03In the ntpctl(1) case, after it has connect()'d to ntpd we can tame "stdio"Theo de Raadt
2015-07-18replace bzero with memsetBrent Cook
2015-03-11-s is not optional, sadly;Jason McIntyre
2015-02-11Remove dead code (IMSG_HOST_DNS has been moved from the parent toReyk Floeter
2015-02-10spacingReyk Floeter
2015-02-10Don't show the subseconds when displaying the constraint offset.Reyk Floeter
2015-02-10Add support for "constraints": when configured, ntpd(8) will query theReyk Floeter
2015-01-21Fix deferred host DNS lookups.Brent Cook
2015-01-19Use initial assignment of action to check for errors.Brent Cook
2015-01-14Switch drift file format to ppm for compatibility with the ntp.orgChristian Weisgerber
2015-01-13bump failure to set the initial time from debug to warningBrent Cook
2015-01-13fix some memory leaks in dns handling.Brent Cook
2015-01-09remove excessive/wrong use of sys/param.hTheo de Raadt
2015-01-08sync log.c from smtpd.Brent Cook
2015-01-04rename sockaddr_un variables from 'sun' to the more common 'sa'.Brent Cook
2015-01-04Add a missing include for time.h to get the definitions of clock_gettime and ...Brent Cook
2014-02-10Run the serving and privileged ntpd processes at high priority and theDarren Tucker
2014-01-28typo in errx() stringStuart Henderson
2014-01-22allow -s<abrev> in addition to -s <word> in ntpctl commandline, likeSebastian Benoit
2014-01-10improve ntpctl usage so that the manual page does not need to be readTheo de Raadt
2013-11-13from sthen: handle msgbuf_write() returning EAGAINSebastian Benoit
2013-10-16tidy up the "modifier" list a little and sync usage();Jason McIntyre
2013-10-11improve ntpctl argv parsingTheo de Raadt
2013-10-09shorten output; ok henning phesslerTheo de Raadt
2013-10-04Tweak previous:Ingo Schwarze
2013-10-04Add ntpctl(8), which allows us to query the locally running ntpd(8) processPeter Hessler
2011-03-19use timerclear macroOkan Demirmen
2010-07-01don't need to setup the resolver early now that dns lookups are doneEric Faurot
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2009-06-06make ntpd imsg-in-a-lib ready as well. extensive testing done, noPierre-Yves Ritschard
2009-06-01no we don't need endpwentHenning Brauer
2009-02-10log tiny frequency adjustments at debug only.Kevin Steves
2009-02-06rename a #define to be clearer; no binary changeKevin Steves
2009-01-29log warning when can't read drift file; allows detection ofKevin Steves
2008-07-19Use errx instead of fprintf, exit combo.Claudio Jeker
2008-05-16Allow ntpd to step the time at startup, now matter how large or small theChris Kuethe
2008-05-14ntpd missed the argument check sweep.Pierre-Yves Ritschard
2007-12-31we must reset the poll timeout to INFTIM when receiving the IMSG_SETTIMEHenning Brauer
2007-12-23log a warning one time when we can't open or write the drift file;Kevin Steves