Systemd/src/journal
Daniel Mack 99f710dde8 shared/utmp-wtmp: add parameter for origin tty and callback userdata
Instead of looking up the tty from STDIN, let utmp_wall() take an argument
to specify an origin tty for the wall message. Only if that argument is
NULL do the STDIN lookup.

Also add an void *userdata argument that is handed back to the callback
function.
2015-04-24 17:48:12 +02:00
..
.gitignore journal: add int↔audit type name mapping 2015-04-23 23:54:21 -04:00
audit-type.c journal: use audit event names instead of numbers 2015-04-23 23:54:21 -04:00
audit-type.h journal: use audit event names instead of numbers 2015-04-23 23:54:21 -04:00
cat.c remove unused includes 2015-02-23 23:53:42 +01:00
catalog.c fix gcc warnings about uninitialized variables 2015-03-27 14:57:38 +01:00
catalog.h hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
compress.c Introduce loop_read_exact helper 2015-03-09 22:10:54 -04:00
compress.h remove unused includes 2015-02-23 23:53:42 +01: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 shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
coredump.conf Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00
coredumpctl.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
fsprg.c remove unused includes 2015-02-23 23:53:42 +01:00
fsprg.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
journal-authenticate.c tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
journal-authenticate.h remove unused includes 2015-02-23 23:53:42 +01:00
journal-def.h journal: have a named enum ObjectType 2014-12-13 00:47:23 +01:00
journal-file.c journal: don't force FS_NOCOW_FL on new journal files, but warn if it is missing 2015-04-22 13:27:53 +02:00
journal-file.h journal: make skipping of exhausted journal files effective again 2015-02-25 17:32:27 +01:00
journal-internal.h Add missing includes in header files 2015-02-12 20:44:32 +01: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 remove unused includes 2015-02-23 23:53:42 +01:00
journal-send.c Add a snprinf wrapper which checks that the buffer was big enough 2015-02-01 17:21:39 -05:00
journal-vacuum.c fix gcc warnings about uninitialized variables 2015-03-27 14:57:38 +01:00
journal-vacuum.h remove unused includes 2015-02-23 23:53:42 +01:00
journal-verify.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02: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: rework code that checks whether we have access to /var/log/journal 2015-04-22 22:56:24 +02:00
journald-audit.c journal: use audit event names instead of numbers 2015-04-23 23:54:21 -04: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 shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02: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 shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
journald-kmsg.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald-native.c journal: use (void) to silence coverity 2015-04-12 22:45:06 -04:00
journald-native.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald-rate-limit.c shared: add random-util.[ch] 2015-04-11 00:11:13 +02:00
journald-rate-limit.h remove unused includes 2015-02-23 23:53:42 +01:00
journald-server.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
journald-server.h remove unused includes 2015-02-23 23:53:42 +01:00
journald-stream.c journal: use (void) to silence coverity 2015-04-12 22:45:06 -04:00
journald-stream.h journald: allow restarting journald without losing stream connections 2015-01-06 03:16:39 +01:00
journald-syslog.c journal: use (void) to silence coverity 2015-04-12 22:45:06 -04:00
journald-syslog.h import: introduce new mini-daemon systemd-importd, and make machinectl a client to it 2015-01-22 04:02:07 +01:00
journald-wall.c shared/utmp-wtmp: add parameter for origin tty and callback userdata 2015-04-24 17:48:12 +02:00
journald-wall.h journald: constify all things! 2014-11-03 21:51:28 +01:00
journald.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
journald.conf Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -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 remove unused includes 2015-02-23 23:53:42 +01:00
mmap-cache.h remove unused includes 2015-02-23 23:53:42 +01:00
sd-journal.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
stacktrace.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
stacktrace.h coredump: include stacktrace of coredumps in the log message 2014-06-19 12:38:45 +02:00
test-audit-type.c journal: use audit event names instead of numbers 2015-04-23 23:54:21 -04:00
test-catalog.c remove unused includes 2015-02-23 23:53:42 +01:00
test-compress-benchmark.c tests: use assert_se instead of assert 2015-01-22 23:10:56 +01:00
test-compress.c shared: add random-util.[ch] 2015-04-11 00:11:13 +02:00
test-coredump-vacuum.c coredump: add simple coredump vacuuming 2014-06-27 19:35:57 +02:00
test-journal-enum.c remove unused includes 2015-02-23 23:53:42 +01:00
test-journal-flush.c test-journal-flush: fix memleak 2015-04-09 18:47:52 +02:00
test-journal-init.c util: rework rm_rf() logic 2015-04-06 10:57:53 +02:00
test-journal-interleaving.c util: rework rm_rf() logic 2015-04-06 10:57:53 +02: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 util: rework rm_rf() logic 2015-04-06 10:57:53 +02:00
test-journal-syslog.c tests: use assert_se instead of assert 2014-11-30 02:35:52 +01:00
test-journal-verify.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
test-journal.c util: rework rm_rf() logic 2015-04-06 10:57:53 +02:00
test-mmap-cache.c remove unused includes 2015-02-23 23:53:42 +01:00