From b6741478e7661c7e580e5dcfd6a6fccd1899c1d0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Dec 2013 22:04:03 +0100 Subject: journal: add ability to browse journals of running OS containers This adds the new library call sd_journal_open_container() and a new "-M" switch to journalctl. Particular care is taken that journalctl's "-b" switch resolves to the current boot ID of the container, not the host. --- src/journal/libsystemd-journal.sym | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/journal/libsystemd-journal.sym') diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym index 4eb15910d2..7f10f633f6 100644 --- a/src/journal/libsystemd-journal.sym +++ b/src/journal/libsystemd-journal.sym @@ -109,3 +109,8 @@ LIBSYSTEMD_JOURNAL_205 { global: sd_journal_open_files; } LIBSYSTEMD_JOURNAL_202; + +LIBSYSTEMD_JOURNAL_209 { +global: + sd_journal_open_container; +} LIBSYSTEMD_JOURNAL_205; -- cgit v1.2.3-54-g00ecf