Brent Cook
dfa1d7eb13
remove allocation logging patch
This could come back some other time, for now its just an arbitrary
difference with upstream.
9 years ago
Brent Cook
c58ebbb441
properly document what specifying the privsep dir does
10 years ago
Brent Cook
3f3b70197c
bump version
10 years ago
Brent Cook
2b3c9bfe49
rebase patches
10 years ago
Brent Cook
3b695eb518
update changelog
10 years ago
Brent Cook
29e3fe363e
ensure that all of the fields of struct timex are initialized
10 years ago
Brent Cook
5980ef6d61
remove BEGIN/END_DECLS annotations from internal headers
These do not exist on all systems in sys/cdefs.h, and they are unneeded
since the header is being used privately anyway.
10 years ago
Brent Cook
3b37dd2849
add extra note about properties of the privilege separation directory
10 years ago
Brent Cook
eeb97529cd
prefer adjtimex over the deprecated ntp_adjtime on Linux
Thanks to @chneukirchen for the suggestion.
10 years ago
Brent Cook
198294a383
add __progname emulation, prevent setproctitle from overwriting it
Make a copy of __progname on start to avoid setproctitle clobbering it
later. Check if the OS supports __progname and emulate if unavailable.
- from OpenSSH.
Thanks to Paul B. Henson for reporting the setproctitle emulation issue
and Jonas 'Sortie' Termansen for suggesting __progname emulation.
10 years ago
Brent Cook
c72225ad1e
Change default privsep directory to /var/empty.
Add a post-install check to ensure that PRIVSEP_PATH is really empty.
10 years ago
Brent Cook
ad3510571d
bump version
10 years ago
Brent Cook
8dafd6324d
Go back to original SA_LEN macro.
Due to some circular dependencies on Solaris, this needs to be defined
as a macro. We should just remove SA_LEN usage here next.
10 years ago
Brent Cook
968c340d56
Format the 'make install' instructions.
Make them a little more readable.
10 years ago
Brent Cook
207a65ca0b
Add NetBSD support.
Fixes #3 , thanks to @gitisihara for providing the initial patch and
testing.
10 years ago
Brent Cook
f3d67df248
Improve err.h macros.
Handle 'NULL', emit the program name.
10 years ago
Brent Cook
cefe9907fd
correct arc4random/arc4random_uniform checks
reported by Loganaden Velvindron
10 years ago
Brent Cook
b15e6b2575
resync patches
update manpage and add more fatal logging
10 years ago
Brent Cook
2c04ab7158
rebase patches
10 years ago
Brent Cook
9938199ddf
add a local ChangeLog file
10 years ago
Brent Cook
ec41520b47
bump version
10 years ago
Brent Cook
6f93baf369
fix setproctitle on OS X and Linux
Call the compat code and select the correct emulation mode.
Remove the string encoding support, since we have fixed inputs for the
title string.
10 years ago
Brent Cook
b759f56133
add fallback err.h and queue.h
10 years ago
Brent Cook
75d2f0aafb
remove need for bash
10 years ago
Brent Cook
91244782ba
update patches
10 years ago
Brent Cook
12bfe6dafa
move and improve SA_LEN emulation
If sa_family is not set, sa_len should be zero.
10 years ago
Brent Cook
a533233b18
fix last-minute FreeBSD build issue with latest log.c
10 years ago
Brent Cook
0ee203eeb0
sync with latest OpenBSD source, adjust patch queue
10 years ago
Brent Cook
183faa4cde
point to the correct file for OS X privsep user instructions
10 years ago
Brent Cook
c7992f4312
resync patches
10 years ago
Brent Cook
aa14b765de
update install docs, fix outdated links
- add OS X privsep user creation instructions from jasper@
- update install instructions to be the same everywhere
- remove outdated compiler flags
10 years ago
Brent Cook
2e79e8cb07
mach_absolute_time is monotonic
which is convenient, since it is exactly what we need.
10 years ago
Brent Cook
667d758c34
remove applied patches from upstream
10 years ago
Brent Cook
132ece510b
resync patch set
10 years ago
Brent Cook
f55fb2f9bb
check for sockaddr_in.sin_len directly.
There is no standard SIN_LEN, unlike SIN6_LEN.
10 years ago
Brent Cook
fe2755c09e
reorder patches by priority and generality
10 years ago
Brent Cook
76f582f5f0
make state dirs on install if the don't exist
10 years ago
Brent Cook
4e94afcafe
support --privsep-user, overriding file paths
Allow overriding the user and the config file paths for ntpd.
This also adds back --privsep-path from OpenNTPD, which really only
changes the installation instructions from 'make install', since ntpd
always uses the home directory of the ntpd user.
This borrows from the Darren's portable OpenNTPD and from OpenSSL, add
credits and a license.
10 years ago
Brent Cook
4f36f83b7e
Move credits from README to AUTHORS.
As long as autoconf requires an AUTHORS file, might as well use it.
Refer to the public commit logs for all contributors - that's what
they're for.
10 years ago
Brent Cook
349259b778
rename clock_gettime OS X shim for consistency
10 years ago
Brent Cook
fb43599f64
update port status
10 years ago
Brent Cook
04f3b3eeee
use per-OS files for adjfreq emulation
This makes it easier to see what is supported by each OS, and to improve
them individually.
10 years ago
Brent Cook
46eb3fcad9
remove unneeded compat string functions
10 years ago
Brent Cook
8e4c175c42
update copyright block, patches
I removed all of the code in fake-sensors, I don't think Henning wants
all the credit for an empty file.
10 years ago
Brent Cook
ca4f4d455a
move all compatibility shims to compat
10 years ago
Brent Cook
a3ad579ab6
add ye-old standard MAX macro
10 years ago
Brent Cook
17f348961a
be more direct about obtaining BSD integer types
10 years ago
Brent Cook
ff50f20d0a
add Solaris build patch
10 years ago
Brent Cook
1ca341f3ed
distribute ntpd.conf
10 years ago
Brent Cook
3f25522c31
include the BSD integer types
TODO: convert u_int_* types to uint_*
10 years ago