summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntpd.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2017-04-12 06:24:35 +0000
committerdelphij <delphij@FreeBSD.org>2017-04-12 06:24:35 +0000
commitb8126de23e957978b4d0403097cd8402f0c1d82a (patch)
treef1de81f49e9bed94c537e2b96701aa1180fa111c /contrib/ntp/include/ntpd.h
parent8ec5a888ff17420a447fce1d15a0413c122dd297 (diff)
downloadFreeBSD-src-b8126de23e957978b4d0403097cd8402f0c1d82a.zip
FreeBSD-src-b8126de23e957978b4d0403097cd8402f0c1d82a.tar.gz
Fix multiple vulnerabilities of ntp. [SA-17:03]
Xen migration enhancements. [EN-17:05] Approved by: so
Diffstat (limited to 'contrib/ntp/include/ntpd.h')
-rw-r--r--contrib/ntp/include/ntpd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ntp/include/ntpd.h b/contrib/ntp/include/ntpd.h
index 1f33bf4..f944235 100644
--- a/contrib/ntp/include/ntpd.h
+++ b/contrib/ntp/include/ntpd.h
@@ -321,6 +321,8 @@ extern void parse_cmdline_opts(int *, char ***);
/* ntp_config.c */
extern char const * progname;
+extern int saved_argc;
+extern char **saved_argv;
extern char *sys_phone[]; /* ACTS phone numbers */
#if defined(HAVE_SCHED_SETSCHEDULER)
extern int config_priority_override;
@@ -487,12 +489,13 @@ extern u_char sys_bcpollbstep; /* broadcast poll backstep gate */
extern u_long sys_epoch; /* last clock update time */
extern keyid_t sys_private; /* private value for session seed */
extern int sys_manycastserver; /* respond to manycast client pkts */
+extern int sys_maxclock; /* maximum survivors */
extern int sys_minclock; /* minimum survivors */
extern int sys_minsane; /* minimum candidates */
extern int sys_floor; /* cluster stratum floor */
extern int sys_ceiling; /* cluster stratum ceiling */
extern u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */
-extern int sys_ttlmax; /* max ttl mapping vector index */
+extern u_int sys_ttlmax; /* max ttl mapping vector index */
/*
* Statistics counters
OpenPOWER on IntegriCloud