Systemd/src/shared
Lennart Poettering d4205751d4 journal: implement message catalog
The message catalog can be used to attach short help texts to log lines,
keyed by their MESSAGE_ID= fields. This is useful to help the
administrator understand the context and cause of a message, find
possible solutions and find further related documentation.

Since this is keyed off MESSAGE_ID= this will only work for native
journal messages.

The message catalog supports i18n, and is useful to augment english
language system messages with explanations in the local language.

This commit only includes short explanatory messages for a few example
message IDs, we'll add more complete documentation for the relevant
systemd messages later on.
2012-11-15 23:09:07 +01:00
..
linux execute: support syscall filtering using seccomp filters 2012-07-17 04:17:53 +02:00
acl-util.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
acl-util.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
ask-password-api.c log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +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 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
audit.h audit: turn the audit fd into a static variable 2012-10-02 17:40:09 -04:00
capability.c capabilities: when dropping capabilities system-wide also drop them from usermode helpers 2012-05-29 23:35:17 +02:00
capability.h capabilities: when dropping capabilities system-wide also drop them from usermode helpers 2012-05-29 23:35:17 +02:00
cgroup-label.c mkdir: append _label to all mkdir() calls that explicitly set the selinux context 2012-05-31 12:40:20 +02:00
cgroup-show.c util: nicer tree drawings 2012-11-12 22:27:48 +01:00
cgroup-show.h systemctl: show main and control PID explicitly in cgroup-show 2012-04-16 18:59:40 +02:00
cgroup-util.c util: rename join() to strjoin() 2012-07-13 13:41:01 +02:00
cgroup-util.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
conf-files.c util: define union dirent_storage and make use of it everywhere 2012-09-19 22:21:09 +02:00
conf-files.h util: split-out conf-file.[ch] 2012-05-07 19:01:24 +02:00
conf-parser.c shared, libsystemd-daemon: check for empty strings in strto*l conversions 2012-10-30 10:30:04 +01:00
conf-parser.h service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
dbus-common.c selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
dbus-common.h timedatectl: introduce new command line client for timedated 2012-10-17 21:25:42 +02:00
dbus-loop.c move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
dbus-loop.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
def.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dev-setup.c dev-setup: make NULL as parameter for dev_setup() equivalent to "" 2012-08-21 17:23:03 +02:00
dev-setup.h dev-setup: allow a path prefix for use in chroots 2012-08-21 17:19:35 +02:00
exit-status.c service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
exit-status.h service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
hashmap.c journal: introduce entry array chain cache 2012-10-26 03:24:03 +02:00
hashmap.h journal: introduce entry array chain cache 2012-10-26 03:24:03 +02:00
hwclock.c hwclock: do not seal the kernel's time-warp call from inside the initrd 2012-10-27 16:31:10 +02:00
hwclock.h hwclock: always set the kernel's timezone 2012-09-17 16:56:26 +02:00
install.c shared/install: fix typo in comment 2012-10-19 17:34:38 +02:00
install.h when determining unit file list, include invalid unit names in an "invalid" state 2012-09-11 01:14:25 +02:00
ioprio.h move list.h, macro.h, ioprio.h to shared/ 2012-04-10 19:47:00 +02:00
label.c selinux: selabel_lookup_raw can return ENOENT and be a non failure mode. 2012-10-16 01:58:42 +02:00
label.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
list.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
log.c log: fix repeated invocation of vsnprintf()/vaprintf() in log_struct() 2012-09-24 23:26:46 +02:00
log.h journal: don't export MESSAGE_ID() macro 2012-10-16 16:26:41 +02:00
logs-show.c journal: implement message catalog 2012-11-15 23:09:07 +01:00
logs-show.h journal: implement message catalog 2012-11-15 23:09:07 +01:00
macro.h timedatectl: introduce new command line client for timedated 2012-10-17 21:25:42 +02:00
Makefile build-sys: add stub makefiles to make emacs easier to use 2012-04-12 13:35:56 +02:00
missing.h journal: provide an API that allows client to figure out whether they need to recheck the journal manually for changes in regular intervals 2012-10-26 20:07:33 +02:00
mkdir.c shared: fail mkdir_p if the target exists and is not a directory 2012-10-02 14:56:26 +02:00
mkdir.h mkdir: provide all functions with and without selinux label application 2012-05-31 13:17:26 +02:00
pager.c util: unify usage of on_tty() in util.c 2012-10-19 00:07:55 +02:00
pager.h journalctl: unify ellipsation handling between journalctl and systemctl 2012-10-18 23:35:44 +02:00
path-lookup.c core: move ManagerRunningAs to shared 2012-09-18 19:53:34 +02:00
path-lookup.h core: move ManagerRunningAs to shared 2012-09-18 19:53:34 +02:00
path-util.c timedate: assorted improvements 2012-09-14 20:02:52 +02:00
path-util.h timedate: assorted improvements 2012-09-14 20:02:52 +02:00
polkit.c polkit: if PK is not around, consider this a permission denied error 2012-11-15 23:07:25 +01:00
polkit.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
ratelimit.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
ratelimit.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
replace-var.c shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
replace-var.h shared: add API for replacing @FOO@ style variables in strings 2012-11-14 22:21:16 +01:00
selinux-util.c build-sys: fix !HAVE_SELINUX case 2012-10-03 16:00:33 +02:00
selinux-util.h selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
set.c set: introduce set_get_strv() 2012-10-19 04:52:14 +02:00
set.h set: introduce set_get_strv() 2012-10-19 04:52:14 +02:00
socket-label.c Revert "Implement SocketUser= and SocketGroup= for [Socket]" 2012-11-06 09:54:17 -05:00
socket-util.c shared/socket-util: kill gcc warning about uninitialized variable 2012-11-13 02:23:02 +01:00
socket-util.h shared, core: do not always accept numbers in string lookups 2012-10-30 15:41:15 +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 polkit: spawn agent in --fallback mode 2012-04-13 21:52:42 +02:00
spawn-polkit-agent.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
specifier.c specifier: minor modernizations 2012-11-14 22:21:16 +01:00
specifier.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
strbuf.c use the same email address everywhere 2012-11-12 19:47:43 +01:00
strbuf.h use the same email address everywhere 2012-11-12 19:47:43 +01:00
strv.c strv: cleanup error path loops 2012-10-30 18:30:45 +01:00
strv.h set: introduce strv_sort() 2012-10-19 04:53:45 +02:00
time-dst.c timedatectl: properly print 30 minutes DST transitions 2012-11-11 16:55:25 +01:00
time-dst.h timedatectl: properly print 30 minutes DST transitions 2012-11-11 16:55:25 +01:00
unit-name.c systemctl: add help for --type/-t 2012-11-15 11:54:57 +01:00
unit-name.h systemctl: add help for --type/-t 2012-11-15 11:54:57 +01:00
utf8.c shared/utf8: mark char* as const 2012-08-10 17:59:39 +02:00
utf8.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
util.c util: add strreplace() to replace a substring by another string 2012-11-14 22:21:16 +01:00
util.h util: add strreplace() to replace a substring by another string 2012-11-14 22:21:16 +01:00
utmp-wtmp.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
utmp-wtmp.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
virt.c detect-virt: install with fs caps by default to allow unprivileged access 2012-10-09 22:25:32 +02:00
virt.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
watchdog.c move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
watchdog.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00