[chrony-dev] [GIT] chrony/chrony.git branch master updated. 3.5-76-ge18903a |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
This is an automated email from git. It was generated because a ref
change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated
via e18903a6b56341481a2e08469c0602010bf7bfe3 (commit)
via 7dfd4ae55634e35fbf829c102af47d1dcd5a644d (commit)
via 429c4468b0058d9c2e2fffbf6660b0f1581af6af (commit)
via 7a4c396bba8f92a3ee8018620983529152050c74 (commit)
via 88f846f6563349c124106baeb51f9d928290aa64 (commit)
via 27c8a64977fb2e263eb38c4803439a669d3c0406 (commit)
via 2fc8edacb8106098b032c55be0257debc09a3554 (commit)
via 903fa247f8ac80a5503cea1f1fff7c7b1068f1de (commit)
via 96771d68574dfc8da125480838f96c38efd2f0cc (commit)
via f4c6a00b2a11c6cf525625d79558d0bed3f7e579 (commit)
from 990f8cd89b50873c2a96836b61b5bccb78f0d42d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e18903a6b56341481a2e08469c0602010bf7bfe3
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Oct 22 18:06:25 2019 +0200
switch to new util file functions
Replace all fopen(), rename(), and unlink() calls with the new util
functions.
commit 7dfd4ae55634e35fbf829c102af47d1dcd5a644d
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Oct 24 10:54:37 2019 +0200
test: extend util unit test
commit 429c4468b0058d9c2e2fffbf6660b0f1581af6af
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Oct 24 12:42:02 2019 +0200
sys_linux: allow F_GETFL in seccomp filter
This is needed for fdopen().
commit 7a4c396bba8f92a3ee8018620983529152050c74
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Oct 22 18:06:15 2019 +0200
util: add functions for common file operations
Add a function to open a file for reading, writing, or appending.
In uppercase modes errors are handled as fatal, i.e. the caller doesn't
need to check for NULL. To avoid string manipulations in the callers,
the function accepts an optional directory and suffix. New files are
created with specified permissions, which will be needed for saving
keys. The O_EXCL flag is used in the writing mode to make sure a new
file is created (on filesystems that support it).
Also, add a function to rename a temporary file by changing its suffix,
and a function to remove a file.
All functions log all errors, at least as debug messages.
commit 88f846f6563349c124106baeb51f9d928290aa64
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Oct 22 14:50:00 2019 +0200
rtc: don't clone file attributes of rtc file
When replacing an existing rtc file with the temporary file, don't
change the ownership or permissions of the temporary file to match the
old rtc file, as if it didn't exist.
commit 27c8a64977fb2e263eb38c4803439a669d3c0406
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Oct 22 12:31:03 2019 +0200
reference: don't clone file attributes of drift file
When replacing an existing drift file with the temporary file, don't
change the ownership or permissions of the temporary file to match the
old drift file, as if it didn't exist.
commit 2fc8edacb8106098b032c55be0257debc09a3554
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Oct 10 17:53:58 2019 +0200
use PATH_MAX
Include <limits.h> and use the PATH_MAX macro to define the length of
buffers containing paths to make it constistent. (It's not supposed to
fit all possible paths.)
commit 903fa247f8ac80a5503cea1f1fff7c7b1068f1de
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Oct 23 17:23:35 2019 +0200
logging: include <syslog.h>
Move the inclusion of <syslog.h> from sysincl.h to logging.c to avoid
accidentally using the LOG_* constants from the header.
commit 96771d68574dfc8da125480838f96c38efd2f0cc
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Oct 22 15:25:03 2019 +0200
logging: make banner printing safer
Don't rely on the buffer filled with '=' characters to be always at
least as long as the log-specific banner string.
commit f4c6a00b2a11c6cf525625d79558d0bed3f7e579
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Oct 10 15:07:10 2019 +0200
logging: call exit() in LOG_Message()
Call exit() in LOG_Message() after printing a fatal message to allow the
LOG macro or LOG_Message() to be used directly instead of the LOG_FATAL
macro.
-----------------------------------------------------------------------
Summary of changes:
conf.c | 9 +---
keys.c | 2 +-
logging.c | 21 ++++----
main.c | 16 +++---
ntp_signd.c | 2 +-
reference.c | 57 +++------------------
rtc_linux.c | 65 ++++--------------------
socket.c | 9 ++--
sources.c | 35 +++++--------
sys_linux.c | 2 +-
sys_timex.c | 6 +--
sysincl.h | 7 ++-
tempcomp.c | 8 +--
test/unit/util.c | 41 +++++++++++++++
util.c | 150 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
util.h | 19 +++++++
16 files changed, 266 insertions(+), 183 deletions(-)
hooks/post-receive
--
chrony/chrony.git
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.