Systemd/src/shared
Lennart Poettering b6741478e7 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.
2013-12-11 22:04:03 +01:00
..
linux trivial coding style clean ups 2013-12-03 22:27:45 +01:00
.gitignore build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
Makefile build-sys: add stub makefiles to make emacs easier to use 2012-04-12 13:35:56 +02:00
MurmurHash3.c MurmurHash3: actually inline functions 2013-04-14 13:11:06 -04:00
MurmurHash3.h kdbus: generare bloom filters properly for messages we send 2013-04-14 17:49:18 +02:00
acl-util.c journald: DO recalculate the ACL mask, but only if it doesn't exist 2013-05-30 00:43:39 -04:00
acl-util.h journald: DO recalculate the ACL mask, but only if it doesn't exist 2013-05-30 00:43:39 -04:00
acpi-fpdt.c acpi-fpdt: break on zero or negative length read 2013-11-07 01:23:54 -05:00
acpi-fpdt.h support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
apparmor-util.c security: rework selinux, smack, ima, apparmor detection logic 2013-10-10 16:35:44 +02:00
apparmor-util.h security: rework selinux, smack, ima, apparmor detection logic 2013-10-10 16:35:44 +02:00
ask-password-api.c build-sys: use -Og instead of -O0 to catch warnings 2013-10-21 15:46:00 +02:00
ask-password-api.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
audit.c bus: add new sd_bus_creds object to encapsulate process credentials 2013-11-28 18:42:18 +01:00
audit.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
boot-timestamps.c support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
boot-timestamps.h support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
bus-errors.h core: convert PID 1 to libsystemd-bus 2013-11-20 20:52:36 +01:00
calendarspec.c calendar: support 'yearly' and 'annually' names the same way as cron 2013-11-20 19:36:14 +01:00
calendarspec.h timer: implement calendar time events 2012-11-23 21:37:58 +01:00
capability.c util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
capability.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
cgroup-show.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
cgroup-show.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
cgroup-util.c bus: add generator that turns old dbus1 activation files into .busname + .service units 2013-12-03 01:13:48 +01:00
cgroup-util.h Remove dead code and unexport some calls 2013-11-08 18:12:45 +01:00
conf-files.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
conf-files.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
conf-parser.c conf-parser: distinguish between multiple sections with the same name 2013-11-25 19:35:44 +01:00
conf-parser.h conf-parser: fix memory realloc error 2013-11-25 23:39:11 +01:00
def.h localed: match converted keymaps before legacy 2013-11-18 20:35:52 -05:00
dev-setup.c dev-setup: do not create a dangling /proc/kcore symlink 2013-06-10 08:50:59 -04:00
dev-setup.h dev-setup: allow a path prefix for use in chroots 2012-08-21 17:19:35 +02:00
device-nodes.c shared: device-nodes - add include guard 2013-09-24 15:34:57 +02:00
device-nodes.h shared: device-nodes - add include guard 2013-09-24 15:34:57 +02:00
efivars.c Modernization 2013-10-13 17:56:54 -04:00
efivars.h support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
env-util.c strv: don't access potentially NULL string arrays 2013-10-02 19:45:12 +02:00
env-util.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
errno-list.c bus: rework sd_bus_error APIs 2013-11-22 04:23:22 +01:00
errno-list.h bus: rework sd_bus_error APIs 2013-11-22 04:23:22 +01:00
exit-status.c service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
exit-status.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
fdset.c shared: move fdset.c from core/ to shared/ since it is used by more than the core now 2012-12-23 11:28:14 +01:00
fdset.h util: allow trailing semicolons on define_trivial_cleanup_func lines 2013-10-14 06:11:19 +02:00
fileio-label.c util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
fileio-label.h util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
fileio.c fix regression of read_full_file() in fileio.c 2013-11-30 23:04:17 -05:00
fileio.h systemctl: add "systemctl cat" 2013-11-30 22:20:20 -05:00
gunicode.c unicode: treat cute symbol block as fullwidth 2013-10-13 17:56:54 -04:00
gunicode.h util, utf8: make ellipsize take multi-byte characters into account 2013-10-13 17:56:54 -04:00
hashmap.c hashmap: make gcc shut up on old glibcs that lack getauxval() 2013-12-10 19:52:16 +00:00
hashmap.h hashmap: size hashmap bucket array dynamically 2013-10-01 00:17:21 +02:00
hwclock.c hwclock: modernizations 2013-11-20 19:36:14 +01:00
hwclock.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
ima-util.c security: missing header inclusions 2013-10-10 21:22:59 +02:00
ima-util.h security: rework selinux, smack, ima, apparmor detection logic 2013-10-10 16:35:44 +02:00
initreq.h build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
install-printf.c specifier: rework specifier calls to return proper error message 2013-09-17 10:06:50 -05:00
install-printf.h specifier: rework specifier calls to return proper error message 2013-09-17 10:06:50 -05:00
install.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
install.h core: convert PID 1 to libsystemd-bus 2013-11-20 20:52:36 +01:00
ioprio.h trivial coding style clean ups 2013-12-03 22:27:45 +01:00
label.c Remove duplicate includes 2013-11-18 20:28:55 -05:00
label.h udev: add SECLABEL{selinux}= support 2013-10-09 17:31:41 +02:00
list.h list: make our list macros a bit easier to use by not requring type spec on each invocation 2013-10-14 06:11:19 +02:00
log.c macro: log assertion at debug level in assert_return() 2013-12-10 17:01:10 +00:00
log.h macro: log assertion at debug level in assert_return() 2013-12-10 17:01:10 +00:00
logs-show.c journal: add ability to browse journals of running OS containers 2013-12-11 22:04:03 +01:00
logs-show.h journal: add ability to browse journals of running OS containers 2013-12-11 22:04:03 +01:00
macro.h macro: log assertion at debug level in assert_return() 2013-12-10 17:01:10 +00:00
missing.h logind: introduce session-devices 2013-09-17 17:15:30 -05:00
mkdir-label.c shared: split mkdir_*() and mkdir_*_label() from each other 2013-07-26 04:13:55 +02:00
mkdir.c mkdir: pass a proper function pointer to mkdir_safe_internal 2013-10-02 19:45:12 +02:00
mkdir.h mkdir: modernize header ifdefs 2013-11-06 23:03:12 +01:00
net-util.c conf-parser: distinguish between multiple sections with the same name 2013-11-25 19:35:44 +01:00
net-util.h conf-parser: distinguish between multiple sections with the same name 2013-11-25 19:35:44 +01:00
output-mode.h logs-show: add short-precise mode with us timestamps 2013-08-20 21:18:43 -04:00
pager.c polkit: don't spawn local client if we access a remote system 2013-11-07 21:06:44 +01:00
pager.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
path-lookup.c move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
path-lookup.h path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h 2013-10-27 11:51:22 -04:00
path-util.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
path-util.h Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
prioq.c core: convert PID 1 to libsystemd-bus 2013-11-20 20:52:36 +01:00
prioq.h bus: add minimal event loop API 2013-10-10 04:44:48 +02:00
ptyfwd.c ptyfwd: Don't set the output prop of stdin, nor the input props of stdout. 2013-12-11 01:04:21 +00:00
ptyfwd.h nspawn: split out pty forwaring logic into ptyfwd.c 2013-10-31 01:43:38 +01:00
ratelimit.c ratelimit: fix off-by-one 2013-02-13 08:45:13 -05:00
ratelimit.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
refcnt.h bus: make bus ref counting atomic 2013-05-16 21:58:34 +02:00
replace-var.c Verify validity of session name when received from outside 2013-09-16 09:58:37 -05:00
replace-var.h shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
securebits.h build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
selinux-util.c security: rework selinux, smack, ima, apparmor detection logic 2013-10-10 16:35:44 +02:00
selinux-util.h selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
set.c core: serialize/deserialize bus subscribers 2013-07-10 23:41:03 +02:00
set.h util: allow trailing semicolons on define_trivial_cleanup_func lines 2013-10-14 06:11:19 +02:00
sleep-config.c Make hibernation test work for swap files 2013-11-07 01:23:55 -05:00
sleep-config.h systemd-sleep: add support for freeze and standby 2013-05-06 22:51:57 +02:00
smack-util.c smack: minimize ifdef use, and move all labeling to smack-util.c 2013-10-11 10:16:41 +02:00
smack-util.h smack: minimize ifdef use, and move all labeling to smack-util.c 2013-10-11 10:16:41 +02:00
socket-label.c active: rework make_socket_fd() to be based on socket_address_listen() 2013-11-06 23:03:12 +01:00
socket-util.c socket: rework things to have only one sockaddr formatter 2013-11-07 00:13:58 +01:00
socket-util.h socket: rework things to have only one sockaddr formatter 2013-11-07 00:13:58 +01:00
sparse-endian.h shared: move sparse-endian.h from journal 2012-10-22 18:08:48 +02:00
spawn-ask-password-agent.c move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
spawn-ask-password-agent.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
spawn-polkit-agent.c build-sys: make PolicyKit support compile-time optional (was runtime-optional already) 2013-02-13 23:08:25 +01:00
spawn-polkit-agent.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
special.h bus: add .busname unit type to implement kdbus-style bus activation 2013-12-02 23:32:34 +01:00
specifier.c specifier: rework specifier calls to return proper error message 2013-09-17 10:06:50 -05:00
specifier.h specifier: rework specifier calls to return proper error message 2013-09-17 10:06:50 -05:00
strbuf.c Fix spelling errors using 'codespell' tool 2013-04-15 08:40:05 -04:00
strbuf.h use the same email address everywhere 2012-11-12 19:47:43 +01:00
strv.c bus: include unique and well known names in credentials object 2013-11-30 14:46:14 +01:00
strv.h machined: port over to libsystemd-bus 2013-10-30 02:08:57 +01:00
strxcpyx.c trivial coding style clean ups 2013-12-03 22:27:45 +01:00
strxcpyx.h macro: clean up usage of gcc attributes 2013-10-16 06:14:59 +02:00
syscall-list.c build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
syscall-list.h build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
test-tables.h test-tables: allow sparse tables and check mapping for -1 2013-07-16 12:04:31 -04:00
time-dst.c time-dst: use _cleanup_ 2013-05-02 22:55:38 -04:00
time-dst.h timedatectl: properly print 30 minutes DST transitions 2012-11-11 16:55:25 +01:00
time-util.c timer: consider (usec_t) -1 an invalid timestamp 2013-11-11 15:54:42 +01:00
time-util.h service: clean up watchdog logic a bit 2013-12-11 20:55:09 +01:00
udev-util.h util: allow trailing semicolons on define_trivial_cleanup_func lines 2013-10-14 06:11:19 +02:00
unit-name.c bus: add .busname unit type to implement kdbus-style bus activation 2013-12-02 23:32:34 +01:00
unit-name.h bus: add .busname unit type to implement kdbus-style bus activation 2013-12-02 23:32:34 +01:00
utf8.c utf8: export utf8 validation functions as part of sd-bus 2013-11-07 03:07:40 +01:00
utf8.h utf8: ascii_filter() is unused, let's remove it 2013-11-07 03:06:37 +01:00
util.c util: check for overflow in greedy_realloc() 2013-12-10 18:53:56 +00:00
util.h util: add greedy_realloc0() 2013-12-01 12:17:08 +01:00
utmp-wtmp.c Get rid of our reimplementation of basename 2013-12-06 21:29:55 -05:00
utmp-wtmp.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
virt.c virt: split detect_vm into separate functions 2013-11-28 14:37:11 -05:00
virt.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
watchdog.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
watchdog.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00