kardel
4ba751f5ad
make ntp compile for MKINET6=no
2011-01-09 14:49:39 +00:00
christos
e19314b713
Pretending that %d can print size_t on __LP64__, by turning off warnings
...
is not really a good idea. Turn on the warnings and fix them. Unfortunately
there are a bunch of const-castaways... Should be fed upstream.
2010-12-04 23:08:32 +00:00
christos
632ebb6b6e
fix typo caused mdnstries not to work.
2010-11-30 15:00:10 +00:00
christos
960613872d
Add a new config keyword "mdnstries" that can be set to 0 to disable mdns.
2010-11-29 00:39:40 +00:00
christos
b155e612fc
PR/44052: Takahiro HAYASHI: chrooted ntpd refers freed memory
...
As mentioned in the pr, process_routing_msgs can delete the current reader,
so cache the next element before calling it.
2010-11-06 20:40:12 +00:00
christos
3b2862d165
fix typo. From Anon Ymous
2010-09-22 14:37:08 +00:00
kardel
d9d9735e8e
make IPV6 support decision consistent with code in ntp_io.c
2010-08-29 18:54:30 +00:00
kardel
2092893b1f
using a char * as timeout value is a unique concept - atol() the string
2010-08-28 20:54:24 +00:00
kardel
9893a031e7
don't return an int casted pointer as 'boolean' value - compare result of strchr with NULL
2010-08-28 20:52:55 +00:00
kardel
2dee21c22b
.sp only takes a single arg
2010-08-28 15:40:24 +00:00
kardel
e2516bcdc0
fix DEBUG compilation
2010-08-28 15:39:25 +00:00
kardel
43632c662f
remove uncondition #define DEBUG
2010-08-28 15:38:55 +00:00
tonnerre
89ba794efc
Prevent ntpd instances from sending MODE_PRIVATE error responses back and
...
forth. This resolves CVE-2009-3563, but it should be noted that nobody uses
this code so far, so this is more of a preventive update than a security
one.
2010-04-25 22:50:11 +00:00
christos
71af8d5cf6
constify
2009-12-14 00:49:45 +00:00
christos
10afd40910
fix bogus ctype casts
2009-12-14 00:46:21 +00:00
christos
065f57e189
fix for long long time_t
2009-12-14 00:43:58 +00:00
christos
9cf8c53771
don't warn about SLEW; ntpd defines it!
2009-12-14 00:43:09 +00:00
christos
e589aa514b
use initgroups/setgroups
...
proper types for uid and gid.
2009-12-14 00:42:47 +00:00
christos
eff9ac27fd
fix debug printf format
...
fix bogus ctype cast
2009-12-14 00:42:21 +00:00
christos
5dd48b0c34
bring back our status printing function
2009-12-14 00:41:03 +00:00
christos
61c775be3f
constify
2009-12-14 00:40:26 +00:00
christos
ed38567fda
fix bogus ctype casts
2009-12-14 00:38:48 +00:00
christos
7b8fd1634b
don't redefine NANOSECOND
2009-12-14 00:38:20 +00:00
christos
7cabe5d03b
(unsigned char) for ctype functions.
2009-12-13 23:25:40 +00:00
christos
20051da22f
int/long portability.
2009-12-13 23:25:24 +00:00
kardel
abb0f93cd7
Import ntp 4.2.6
2009-12-13 16:51:59 +00:00