systemd/src/journal
Colin Walters 759c945a43 journal: Don't use loginuid if it's not valid
Code above this attempted to load loginuid, if this failed for
whatever reason, we'd still end up using that value (0) in place of
realuid.  Fix this by setting a bool when we know the loginuid is
valid.

This fixes journal messages showing up in per-user journals in
gnome-ostree (not configured with loginuid, but I'll shortly fix
that).
2013-02-13 01:02:25 +01:00
..
.gitignore journald: parse configuration file 2012-01-04 20:40:04 +01:00
browse.html journal: implement filtering in browse.html 2012-10-18 22:34:42 +02:00
cat.c build-sys: drop all distribution specfic checks 2013-01-04 23:26:21 +01:00
catalog.c shared: conf-files - add root parameter 2013-02-08 10:23:04 +01:00
catalog.h journal: implement message catalog 2012-11-15 23:09:07 +01:00
compress.c journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
compress.h journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
coredump.c coredump: make use of the cleanup macros 2013-02-07 01:02:34 -05:00
coredumpctl.c build-sys: drop all distribution specfic checks 2013-01-04 23:26:21 +01:00
fsprg.c journal: validate timestamps as well 2012-08-19 15:16:11 +02:00
fsprg.h journald: initial version of FSPRG hookup 2012-08-13 20:31:10 +02:00
journal-authenticate.c journal: add ability to list values a specified field can take in all entries of the journal 2012-10-18 03:35:18 +02: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 journal: move _packed_ attribute to the end 2012-12-17 11:41:31 +01:00
journal-file.c journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
journal-file.h journal: introduce entry array chain cache 2012-10-26 03:24:03 +02:00
journal-gatewayd.c journal-gatewayd,man: document new HTTPS options 2013-01-18 01:41:01 -05:00
journal-internal.h journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
journal-qrcode.c journal: include machine ID in QR code 2012-08-20 22:11:38 +02:00
journal-qrcode.h journalctl: output FSS key as QR code on generating 2012-08-20 22:02:19 +02:00
journal-send.c journal: fix warning about pointer arithmetic 2012-11-25 21:43:44 +01:00
journal-vacuum.c journal: fix potential integer overflow 2012-10-17 21:25:42 +02:00
journal-vacuum.h journal: implement time-based rotation/vacuuming 2012-10-16 22:58:07 +02:00
journal-verify.c journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +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 journalctl: allow both "-n 55" and "-n55" on the command line, as equivalent syntaxes 2013-02-12 00:31:13 +01:00
journald-console.c build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-console.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-gperf.gperf build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-kmsg.c build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-kmsg.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-native.c journal: fix SO_PASSSEC invocation 2012-11-23 18:35:27 +01:00
journald-native.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-rate-limit.c journal: the ratelimiter is part of journald 2012-08-22 03:43:45 +02:00
journald-rate-limit.h journal: the ratelimiter is part of journald 2012-08-22 03:43:45 +02:00
journald-server.c journal: Don't use loginuid if it's not valid 2013-02-13 01:02:25 +01:00
journald-server.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-stream.c build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-stream.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-syslog.c build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-syslog.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald.c build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald.conf journald.conf: remove MinSize= settings 2012-10-19 00:56:42 +02:00
libsystemd-journal.pc.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
libsystemd-journal.sym journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
lookup3.c journal: fix build in VALGRIND compatibility mode 2012-10-13 14:40:32 +02:00
lookup3.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
Makefile journal: add preliminary incomplete implementation 2011-10-07 22:02:05 +02:00
microhttpd-util.c journal-gatewayd: redirect microhttpd messages to journal 2013-01-18 01:15:54 -05:00
microhttpd-util.h journal-gatewayd: redirect microhttpd messages to journal 2013-01-18 01:15:54 -05:00
mmap-cache.c journal: Set the last_unused pointer correctly when attaching an unused window 2012-10-16 16:14:46 +02:00
mmap-cache.h journal: bring mmap cache prototype in sync 2012-09-22 00:16:13 +02:00
sd-journal.c journal: by default do not decompress dat objects larger than 64K 2012-11-21 00:28:00 +01:00
test-catalog.c journal: implement message catalog 2012-11-15 23:09:07 +01:00
test-journal-enum.c journal: introduce entry array chain cache 2012-10-26 03:24:03 +02:00
test-journal-match.c journal: beef up journal matches considerably 2012-07-13 00:32:32 +02:00
test-journal-send.c test: extend test-send to send some weirder data 2012-10-26 01:18:41 +02:00
test-journal-stream.c journal: add ability to list values a specified field can take in all entries of the journal 2012-10-18 03:35:18 +02:00
test-journal-syslog.c journald: properly update message size after stripping the identifier 2012-10-13 14:40:32 +02:00
test-journal-verify.c journal: make libgcrypt dependency optional 2012-08-20 16:51:46 +02:00
test-journal.c journal: add ability to list values a specified field can take in all entries of the journal 2012-10-18 03:35:18 +02:00
test-mmap-cache.c journal: add missing test file 2012-09-24 10:18:10 +02:00