Up to [local] / src / usr.sbin / ntpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 3 05:04:19 2019 UTC (4 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
HEAD
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored)
Forgotten va_copy/va_end; on some archs that is really needed. ok benno@
Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 27 15:18:42 2019 UTC (4 years, 11 months ago) by otto
Branch: MAIN
Changes since 1.17: +10 -29 lines
Diff to previous 1.17 (colored)
Allow logging to both stderr and syslog; don't reset the log level if the log destination changes. ok claudio@ benno@
Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 21 12:06:56 2017 UTC (7 years, 2 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 9 14:49:22 2017 UTC (7 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.15: +12 -5 lines
Diff to previous 1.15 (colored)
Stop accessing verbose and debug variables from log.c directly. This replaces log_verbose() and "extern int verbose" with the two functions log_setverbose() and log_getverbose(). Pointed out by benno@ OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 8 20:31:03 2017 UTC (7 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.14: +11 -9 lines
Diff to previous 1.14 (colored)
Sync log.c with the latest version from vmd/log.c that preserves errno so it is safe calling log_* after an error without loosing the it.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 12 11:57:31 2016 UTC (7 years, 7 months ago) by reyk
Branch: MAIN
Changes since 1.13: +11 -8 lines
Diff to previous 1.13 (colored)
copy updated log.c from vmd: for correctness, save errno when doing additional actions before printing it. OK rzalamena@
Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 19 17:55:29 2015 UTC (8 years, 5 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.12: +61 -57 lines
Diff to previous 1.12 (colored)
Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd. OK bcook@ jung@
Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 19 13:58:08 2015 UTC (8 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.11: +4 -14 lines
Diff to previous 1.11 (colored)
Move log_sockaddr() to from log.c to util.c as it is a local addition and actually not a "logging" function. No functional change.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 8 05:34:21 2015 UTC (9 years, 5 months ago) by bcook
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)
log as LOG_DAEMON in log_init again. I mirrored from smtpd a little too literally.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 8 00:30:08 2015 UTC (9 years, 5 months ago) by bcook
Branch: MAIN
Changes since 1.9: +69 -20 lines
Diff to previous 1.9 (colored)
sync log.c from smtpd. Reduces the number of log.c snowflakes by a little, and gives ntpd a variadic fatal() function to be used later. ok deraadt@
Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 3 20:15:30 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)
Convert the logic in yyerror(). Instead of creating a temporary format string, create a temporary message. OK claudio@
Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 22 21:04:30 2007 UTC (16 years, 9 months ago) by ckuethe
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)
Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUG priority. ok gwk, mbalmer, weingart "explicit non-ok from" henning
Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 31 12:14:01 2005 UTC (19 years, 2 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.6: +2 -8 lines
Diff to previous 1.6 (colored)
zap includes, Alexander von Gernler <grunk@pestilenz.org>
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 12 09:22:38 2004 UTC (19 years, 11 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)
Replace errx with equivalent fprintf+exit to make porting easier; ok henning@
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 11 03:05:50 2004 UTC (19 years, 11 months ago) by dtucker
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Use SA_LEN(sa) instead of sa->sa_len; ok henning@
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 8 01:19:27 2004 UTC (19 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.3: +6 -4 lines
Diff to previous 1.3 (colored)
make log_debug() only log anything at all when we are in debug mode before, it would log with LOG_DEBUG to syslog when !debug
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 17 19:15:27 2004 UTC (19 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.2: +13 -1 lines
Diff to previous 1.2 (colored)
provide log_sockaddr, from bgpd
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 1 20:28:19 2004 UTC (20 years ago) by henning
Branch: MAIN
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)
tzset(); noticed by theo
Revision 1.1 / (download) - annotate - [select for diffs], Mon May 31 13:46:16 2004 UTC (20 years ago) by henning
Branch: MAIN
initial cut at ntpd. it is just capable of answering (s)ntp4 requests with the local time for now. imsg/buffer and logging framework from bgpd, ntp protocol hackery with Alexander Guy