Systemd/src/journal-remote
Lennart Poettering 4f9ff96a55 conf-parser: return mtime in config_parse() and friends
This is a follow-up for 9f83091e3c.

Instead of reading the mtime off the configuration files after reading,
let's do so before reading, but with the fd we read the data from. This
is not only cleaner (as it allows us to save one stat()), but also has
the benefit that we'll detect changes that happen while we read the
files.

This also reworks unit file drop-ins to use the common code for
determining drop-in mtime, instead of reading system clock for that.
2020-06-02 19:32:20 +02:00
..
browse.html fix(journal-gatewayd): use relative urls (not starting with '/') 2019-06-18 17:06:12 +02:00
journal-gatewayd.c *: use _cleanup_close_ with fdopen() where trivial 2020-03-31 06:48:03 -07:00
journal-remote-main.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
journal-remote-parse.c journal-import: extract helpers for handling arrays of iovec and make them available for others 2019-06-27 19:14:23 +02:00
journal-remote-parse.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
journal-remote-write.c journal-remote: use source's boot-id 2019-04-02 10:32:21 +02:00
journal-remote-write.h journal-remote: use source's boot-id 2019-04-02 10:32:21 +02:00
journal-remote.c tree-wide: drop stdio.h when stdio-util.h is included 2019-11-04 00:30:32 +09:00
journal-remote.conf.in journal-remote: add license and reference to man page in conf files 2018-06-26 04:04:45 +09:00
journal-remote.h journal-remote: destroy RemoteServer object by using _cleanup_ attribute 2018-12-08 18:09:40 +09:00
journal-upload-journal.c journal: fix dropping first record during upload to remote journal 2020-05-19 07:58:59 +02:00
journal-upload.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
journal-upload.conf.in journal-remote: add license and reference to man page in conf files 2018-06-26 04:04:45 +09:00
journal-upload.h tree-wide: normalize includes of public headers 2019-11-28 09:14:22 +01:00
log-generator.py log-generator: make message size configurable, add short options 2018-05-31 13:04:18 +02:00
meson.build meson: create /var/log/journal/{,remote/} conditionally 2019-07-04 10:16:48 +02:00
microhttpd-util.c tree-wide: use DISABLE_WARNING_FORMAT_NONLITERAL where appropriate 2020-05-25 18:25:05 +02:00
microhttpd-util.h codespell: fix spelling errors 2019-04-29 16:47:18 +02:00