xref: /netbsd-src/external/bsd/ntp/dist/TODO (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1*abb0f93cSkardel
2*abb0f93cSkardel      *** IF YOU CAN HELP FIX ANY OF THESE THINGS, PLEASE DO! ***
3*abb0f93cSkardel
4*abb0f93cSkardel010402: Look harder at -lm and -lelf - they are needed less and less...
5*abb0f93cSkardel
6*abb0f93cSkardel970711: Look Real Hard at changing the key stuff from u_long to u_int32.
7*abb0f93cSkardel
8*abb0f93cSkardel970711: Make sure it's safe to convert proto_config's 2nd argument from
9*abb0f93cSkardel	u_long to u_int32.  Watch "set" in ntp_request.c:setclr_flags().
10*abb0f93cSkardel
11*abb0f93cSkardel970318: in hourly_stats(?), squawk if the magnitude of the drift is,
12*abb0f93cSkardel	say, >400.
13*abb0f93cSkardel
14*abb0f93cSkardel970301: Implement the utmp/wtmp timestamping on time steps.
15*abb0f93cSkardel
16*abb0f93cSkardel970210: Find a way to dump the current configuration to either syslog or
17*abb0f93cSkardel	a file.
18*abb0f93cSkardel
19*abb0f93cSkardelProblems that need to be fixed:
20*abb0f93cSkardel
21*abb0f93cSkardel- Get rid of the old SYS_* macros:
22*abb0f93cSkardel  (It's worth noting that any code that would have been "enabled" by any
23*abb0f93cSkardel  of these macros has not been used since 5.83, and there have been very
24*abb0f93cSkardel  few complaints...)
25*abb0f93cSkardel
26*abb0f93cSkardel  SYS_44BSD:
27*abb0f93cSkardel   authstuff/md5driver.c
28*abb0f93cSkardel
29*abb0f93cSkardel  SYS_BSDI:
30*abb0f93cSkardel   authstuff/md5driver.c
31*abb0f93cSkardel
32*abb0f93cSkardel  SYS_DECOSF1:
33*abb0f93cSkardel   util/ntptime.c
34*abb0f93cSkardel
35*abb0f93cSkardel  SYS_DOMAINOS:
36*abb0f93cSkardel   parseutil/dcfd.c
37*abb0f93cSkardel   xntpd/ntpd.c
38*abb0f93cSkardel
39*abb0f93cSkardel  SYS_HPUX:
40*abb0f93cSkardel   kernel/sys/ppsclock.h
41*abb0f93cSkardel   ntpdate/ntpdate.c
42*abb0f93cSkardel   ntptrace/ntptrace.c
43*abb0f93cSkardel
44*abb0f93cSkardel  SYS_PTX:
45*abb0f93cSkardel   libntp/machines.c
46*abb0f93cSkardel
47*abb0f93cSkardel  SYS_SOLARIS:
48*abb0f93cSkardel   libparse/parse.c
49*abb0f93cSkardel   libparse/clk_trimtsip.c
50*abb0f93cSkardel   xntpd/ntp_io.c
51*abb0f93cSkardel   xntpd/ntp_refclock.c
52*abb0f93cSkardel   xntpd/ntpd.c
53*abb0f93cSkardel
54*abb0f93cSkardel  SYS_SUNOS4:
55*abb0f93cSkardel   libparse/parse.c
56*abb0f93cSkardel   libparse/clk_trimsip.c
57*abb0f93cSkardel
58*abb0f93cSkardel  SYS_WINNT:
59*abb0f93cSkardel   include/ntp.h
60*abb0f93cSkardel   include/ntp_fp.h
61*abb0f93cSkardel   include/ntp_if.h
62*abb0f93cSkardel   include/ntp_machine.h
63*abb0f93cSkardel   include/ntp_select.h
64*abb0f93cSkardel   include/ntp_syslog.h
65*abb0f93cSkardel   include/ntp_unixtime.h
66*abb0f93cSkardel   include/ntpd.h
67*abb0f93cSkardel   libntp/libntp.mak
68*abb0f93cSkardel   libntp/machines.c
69*abb0f93cSkardel   libntp/mexit.c
70*abb0f93cSkardel   libntp/msyslog.c
71*abb0f93cSkardel   libntp/systime.c
72*abb0f93cSkardel   ntpdate/ntpdate.c
73*abb0f93cSkardel   ntpdate/ntpdate.mak
74*abb0f93cSkardel   ntpq/ntpq.c
75*abb0f93cSkardel   ntpq/ntpq.mak
76*abb0f93cSkardel   ntpq/ntpq_ops.c
77*abb0f93cSkardel   ntptrace/ntptrace.c
78*abb0f93cSkardel   ntptrace/ntptrace.mak
79*abb0f93cSkardel   xntpd/ntp_config.c
80*abb0f93cSkardel   xntpd/ntp_filegen.c
81*abb0f93cSkardel   xntpd/ntp_intres.c
82*abb0f93cSkardel   xntpd/ntp_io.c
83*abb0f93cSkardel   xntpd/ntp_loopfilter.c
84*abb0f93cSkardel   xntpd/ntp_peer.c
85*abb0f93cSkardel   xntpd/ntp_proto.c
86*abb0f93cSkardel   xntpd/ntp_refclock.c
87*abb0f93cSkardel   xntpd/ntp_timer.c
88*abb0f93cSkardel   xntpd/ntp_unixclock.c
89*abb0f93cSkardel   xntpd/ntp_util.c
90*abb0f93cSkardel   xntpd/ntpd.c
91*abb0f93cSkardel   xntpd/xntpd.mak
92*abb0f93cSkardel   xntpdc/ntpdc.c
93*abb0f93cSkardel   xntpdc/xntpdc.mak
94*abb0f93cSkardel
95*abb0f93cSkardel- config.guess might need help to identify:
96*abb0f93cSkardel
97*abb0f93cSkardel  Fujitsu's UXP				--enable-adjtime-is-accurate
98*abb0f93cSkardel					--enable-step-slew
99*abb0f93cSkardel
100*abb0f93cSkardel  Unixware				--enable-adjtime-is-accurate
101*abb0f93cSkardel					--enable-tick=10000
102*abb0f93cSkardel					--enable-tickadj=80
103*abb0f93cSkardel					--enable-udp-wildcard
104*abb0f93cSkardel					--disable-step-slew
105*abb0f93cSkardel
106*abb0f93cSkardel  DomainOS				--enable-adjtime-is-accurate
107*abb0f93cSkardel					--disable-kmem
108*abb0f93cSkardel					--enable-tick=1000000
109*abb0f93cSkardel
110*abb0f93cSkardel  OpenVMS				--enable-slew-always
111*abb0f93cSkardel					--enable-hourly-todr-sync
112*abb0f93cSkardel
113*abb0f93cSkardel  Is adjtime accurate on ALL sysv4* machines?
114*abb0f93cSkardel  Can we identify DomainOS with *-apollo-* ?
115*abb0f93cSkardel  Do we catch all Unixware machines with *-univel-sysv* ?
116*abb0f93cSkardel
117*abb0f93cSkardel- Combine enable-step-slew and enable-ntpdate-step
118*abb0f93cSkardel
119*abb0f93cSkardel- Make sure enable-hourly-todr-sync is always disabled
120*abb0f93cSkardel  What about NextStep and OpenVMS, where hourly TODR sync used to be enabled?
121*abb0f93cSkardel
122*abb0f93cSkardel- Check dcfd.c for variables that need to be volatile.
123