Systemd/src/journal
Lennart Poettering 4ec3cd7391 journald: close passed fds we cannot make sense of
This is mostly likely the audit socket, and we really should close it
if we cannot make sense of it, since as long as it is open the kernel
might disable the kmsg forwarding of audit msgs, and we should avoid
that, since audit msgs might get completely lost then.

I also downgraded the log message we show a bit, after all things should
really work fine, and we proceed fine with it.
2014-11-30 22:58:55 +01:00
..
.gitignore journald: parse configuration file 2012-01-04 20:40:04 +01:00
cat.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
catalog.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
catalog.h hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
compress.c journal/compress: use LZ4_compress_continue() 2014-08-30 17:41:15 -04:00
compress.h Fix misuse of uint64_t as size_t 2014-08-03 23:53:49 -04:00
coredump-vacuum.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
coredump-vacuum.h coredump: add simple coredump vacuuming 2014-06-27 19:35:57 +02:00
coredump.c coredump: Support coredump.conf.d directories in the usual search paths 2014-11-29 13:55:32 -05:00
coredump.conf coredump: Support coredump.conf.d directories in the usual search paths 2014-11-29 13:55:32 -05:00
coredumpctl.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
fsprg.c use memzero(foo, length); for all memset(foo, 0, length); calls 2014-01-31 11:55:01 +01:00
fsprg.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
journal-authenticate.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal-authenticate.h journald: don't reposition window if we don't have to 2012-09-13 17:06:04 +02:00
journal-def.h Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
journal-file.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal-file.h journal: make JournalFile::chain_cache an OrderedHashmap 2014-10-23 17:38:02 +02:00
journal-internal.h journal: make sd_journal::files a OrderedHashmap 2014-10-23 17:38:02 +02:00
journal-qrcode.c Use stdint.h macros instead of casts to print uint64_t values 2013-06-10 10:10:07 -04:00
journal-qrcode.h Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
journal-send.c memfd: rename memfd.h to memfd-util.h to avoid any confusion with any libc provided headers 2014-10-30 18:32:37 +01:00
journal-vacuum.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal-vacuum.h journalctl: add new --vacuum-size= and --vacuum-time= commands to clean up journal files based on a size/time limit 2014-11-03 23:08:33 +01:00
journal-verify.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal-verify.h journald: always pass first entry timestamp back from journal_file_verify() 2012-09-24 15:02:43 +02:00
journalctl.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
journald-audit.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
journald-audit.h journald: don't pass around SO_TIMESTAMP timestamp for audit, which we don't have anyway 2014-11-04 00:32:02 +01:00
journald-console.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journald-console.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald-gperf.gperf journald: add support for wall forwarding 2014-03-14 22:05:25 +01:00
journald-kmsg.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journald-kmsg.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald-native.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
journald-native.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald-rate-limit.c shared: switch our hash table implementation over to SipHash 2013-12-22 21:12:25 +01:00
journald-rate-limit.h journal: the ratelimiter is part of journald 2012-08-22 03:43:45 +02:00
journald-server.c journald: close passed fds we cannot make sense of 2014-11-30 22:58:55 +01:00
journald-server.h journald: if available pull audit messages from the kernel into journal logs 2014-11-03 21:51:28 +01:00
journald-stream.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
journald-stream.h journald: port to sd-event and enable watchdog support 2013-12-11 20:55:09 +01:00
journald-syslog.c treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
journald-syslog.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald-wall.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
journald-wall.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
journald.conf journald: Support journald.conf.d directories in the usual search paths 2014-11-29 13:55:31 -05:00
lookup3.c journal: fix build in VALGRIND compatibility mode 2012-10-13 14:40:32 +02:00
lookup3.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
Makefile journal: add preliminary incomplete implementation 2011-10-07 22:02:05 +02:00
mmap-cache.c sd-journal: fix sd_journal_enumerate_unique skipping values 2014-10-09 23:16:36 -04:00
mmap-cache.h sd-journal: fix sd_journal_enumerate_unique skipping values 2014-10-09 23:16:36 -04:00
sd-journal.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
stacktrace.c coredump: include stacktrace of coredumps in the log message 2014-06-19 12:38:45 +02:00
stacktrace.h coredump: include stacktrace of coredumps in the log message 2014-06-19 12:38:45 +02:00
test-catalog.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00
test-compress-benchmark.c Fix a few more typos 2014-08-30 13:46:07 -04:00
test-compress.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00
test-coredump-vacuum.c coredump: add simple coredump vacuuming 2014-06-27 19:35:57 +02:00
test-journal-enum.c move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
test-journal-flush.c test-journal-flush: avoid predictable names in /var/tmp 2014-04-26 08:16:35 -04:00
test-journal-init.c test: warn if we could not parse the loop count argument 2014-09-19 01:45:59 +02:00
test-journal-interleaving.c log: rearrange log function naming 2014-11-27 22:05:24 +01:00
test-journal-match.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-send.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-stream.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-syslog.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00
test-journal-verify.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00
test-journal.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00
test-mmap-cache.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00