Systemd/src/shared
Lennart Poettering 6dc2852c64 base-file-system: always generate error messages locally
Functions either should generate error messages for everything they do
themselves, or for nothing and let the caller do it. But they certainly
shouldn't generate errors for some messages but not for others. Since
the function in this case is one that generates messages on its own, it
really should do that for everything, not just for some things, hence.
2014-09-03 19:00:24 +02:00
..
linux syscallfilter: port to libseccomp 2014-02-12 18:30:36 +01:00
.gitignore networkd: add minimal client tool "networkd" to query network status 2014-08-12 01:54:40 +02:00
acl-util.c Introduce strv_consume which takes ownership 2014-03-04 10:04:50 -05:00
acl-util.h coredump: optionally store coredumps on disk, not in the journal 2014-06-19 00:00:24 +02:00
acpi-fpdt.c make gcc shut up 2014-02-19 17:53:50 +01:00
acpi-fpdt.h support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
af-list.c core: add new RestrictAddressFamilies= switch 2014-02-26 02:19:28 +01:00
af-list.h core: add new RestrictAddressFamilies= switch 2014-02-26 02:19:28 +01: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
architecture.c architecture: add string table entries for mips-le archs which were missing 2014-07-07 15:25:55 +02:00
architecture.h Fix a few more typos 2014-08-30 13:46:07 -04:00
arphrd-list.c networkd: add minimal client tool "networkd" to query network status 2014-08-12 01:54:40 +02:00
arphrd-list.h networkd: add minimal client tool "networkd" to query network status 2014-08-12 01:54:40 +02:00
ask-password-api.c Be more verbose when bind or listen fails 2014-07-18 21:44:59 -04:00
ask-password-api.h Add more password agent information 2014-04-24 09:23:54 +02:00
async.c util: make asynchronous_close() really work like an asynchronous version of safe_close() 2014-08-21 17:24:21 +02:00
async.h build-sys: move async.[ch] to src/shared 2014-05-05 21:19:06 +02:00
audit.c parse_uid: return -ENXIO for -1 uids 2014-07-01 16:00:05 +02:00
audit.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
barrier.c barrier: suppress false-positive warning 2014-07-19 11:32:25 +02:00
barrier.h barrier: initalize file descriptors with -1 2014-07-18 20:12:44 -04:00
base-filesystem.c base-file-system: always generate error messages locally 2014-09-03 19:00:24 +02:00
base-filesystem.h nspawn: create essential base directories at system bootup 2014-06-24 15:41:03 +02:00
blkid-util.h nspawn: add --image= switch to boot GPT disk images that follow the Discoverable Partitions Specification 2014-03-10 20:35:52 +01:00
boot-timestamps.c make gcc shut up 2014-02-19 17:53:50 +01:00
boot-timestamps.h support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
bus-errors.h resolved: properly pass aborted transaction result back to clients 2014-08-11 15:06:22 +02:00
bus-label.c src/shared/ cannot reference symbols from libraries 2014-02-23 01:53:40 +01:00
bus-label.h src/shared/ cannot reference symbols from libraries 2014-02-23 01:53:40 +01:00
calendarspec.c time: support @ syntax for denoting times since the UNIX epoch 1970-1-1 2014-03-25 04:08:16 +01:00
calendarspec.h timer: implement calendar time events 2012-11-23 21:37:58 +01:00
capability.c bus-proxy: drop priviliges if we can 2014-06-04 11:13:08 +02:00
capability.h timesyncd: split privilege dropping code out of timesyncd so that we can make use of it from other daemons too 2014-06-01 08:49:33 +02:00
cgroup-show.c delta: draw arrows with draw_special_char() 2014-04-23 19:06:39 +02:00
cgroup-show.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
cgroup-util.c cgroup-util: shorten cg_path_get_session 2014-08-30 17:41:32 -04:00
cgroup-util.h core: find the closest parent slice that has a specfic cgroup controller enabled when enabling/disabling cgroup controllers for units 2014-02-17 15:49:21 +01:00
clean-ipc.c logind: don't apply RemoveIPC= to system users 2014-05-21 09:36:49 +09:00
clean-ipc.h logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out 2014-03-14 01:49:44 +01:00
clock-util.c core: only set the kernel's timezone when the RTC runs in local time 2014-07-27 10:44:31 +02:00
clock-util.h core: only set the kernel's timezone when the RTC runs in local time 2014-07-27 10:44:31 +02:00
condition-util.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
condition-util.h firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead 2014-07-07 21:05:09 +02:00
conf-files.c use more _cleanup_ macro 2014-06-24 19:09:57 +02:00
conf-files.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
conf-parser.c config-parser: fix mem leak 2014-08-31 23:25:34 +02:00
conf-parser.h Reject invalid quoted strings 2014-07-31 04:00:31 -04:00
copy.c journal/compress: add stream compression/decompression functions 2014-06-26 01:41:04 -04:00
copy.h coredump: never write more than the configured processing size limit to disk 2014-06-23 16:28:05 +02:00
def.h tty-ask-password-agent: modernization 2014-08-03 21:46:07 -04:00
dev-setup.c core: Beef up PrivateDevices= 2014-03-19 16:25:11 +01:00
dev-setup.h exec: introduce PrivateDevices= switch to provide services with a private /dev 2014-01-20 21:28:37 +01:00
device-nodes.c fix a couple of more lazy "return -1" 2014-08-11 18:35:54 +02:00
device-nodes.h shared: device-nodes - add include guard 2013-09-24 15:34:57 +02:00
dropin.c cryptsetup: allow x-systemd.device-timeout 2014-06-30 18:41:17 -04:00
dropin.h dropin: add format attribute and fix a wrong caller 2014-07-07 22:20:56 +02:00
efivars.c fix a couple of more lazy "return -1" 2014-08-11 18:35:54 +02:00
efivars.h support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
env-util.c util: don't consider tabs special in string_has_cc() anymore 2014-07-07 15:25:55 +02:00
env-util.h core: clean up environment block for --user instances a bit 2014-01-12 19:41:57 +08: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 core: introduce exit_status_set_is_empty() to make things a bit easier to read 2014-07-03 15:50:31 +02:00
exit-status.h core: introduce exit_status_set_is_empty() to make things a bit easier to read 2014-07-03 15:50:31 +02:00
fdset.c use more _cleanup_ macro 2014-06-24 19:09:57 +02:00
fdset.h util: allow trailing semicolons on define_trivial_cleanup_func lines 2013-10-14 06:11:19 +02:00
fileio-label.c sysusers: fix selinux context of backup files 2014-07-21 20:53:05 -04:00
fileio-label.h Add function to open temp files in selinux mode 2014-07-13 21:11:07 -04:00
fileio.c cgroup: never try to create files in cgroupfs, only open them for writing 2014-08-15 11:57:07 +02:00
fileio.h cgroup: never try to create files in cgroupfs, only open them for writing 2014-08-15 11:57:07 +02:00
generator.c shared: fix format string for usec_t type 2014-07-07 22:49:59 +02:00
generator.h Move x-systemd-device.timeout handling from core to fstab-generator 2014-06-30 18:39:45 -04:00
gpt.h endian: explicitly include endian.h wherever we want to use __BYTE_ORDER 2014-07-11 16:13:13 +02: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: try to use the existing 64bit hash functions for dev_t if it is 64bit 2014-08-19 00:04:55 +02:00
hashmap.h hashmap: try to use the existing 64bit hash functions for dev_t if it is 64bit 2014-08-19 00:04:55 +02: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
in-addr-util.c networkd: monopolize in_addr utility functions in shared/in-addr-util.h 2014-08-11 22:46:42 +02:00
in-addr-util.h networkd: monopolize in_addr utility functions in shared/in-addr-util.h 2014-08-11 22:46:42 +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 systemctl: fix broken list-unit-files with --root 2014-08-27 11:48:48 +02:00
install.h test-tables: add new entries 2014-07-16 19:00:03 -04:00
ioprio.h trivial coding style clean ups 2013-12-03 22:27:45 +01:00
label.c Revert "socket: introduce SELinuxLabelViaNet option" 2014-08-19 19:16:08 +02:00
label.h Revert "socket: introduce SELinuxLabelViaNet option" 2014-08-19 19:16:08 +02:00
list.h list: make LIST_FIND_TAIL work for empty lists 2014-05-06 13:07:15 +02:00
locale-util.c shared: make timezone and locale enumeration and validation generic 2014-07-07 15:25:55 +02:00
locale-util.h shared: make timezone and locale enumeration and validation generic 2014-07-07 15:25:55 +02:00
log.c sd-bus,log: remove unused variables 2014-08-16 00:32:21 +02:00
log.h log: never ever log to syslog from PID 1, log to the journal again 2014-08-11 20:08:08 +02:00
login-shared.c build-sys: move sd-login src/login → src/libsystemd/sd-login 2014-03-17 18:35:48 +01:00
login-shared.h build-sys: move sd-login src/login → src/libsystemd/sd-login 2014-03-17 18:35:48 +01:00
logs-show.c time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
logs-show.h Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
macro.h macro: use unique variable names for math-macros 2014-08-28 14:45:38 +02:00
Makefile
memfd.c memfd: escape the comm field we get from PR_GET_NAME, but assume everything else is proper UTF8 2014-08-19 22:35:04 +02:00
memfd.h memfd: simplify API 2014-08-19 19:39:16 +02:00
missing.h missing: add IFF_MULTI_QUEUE 2014-08-31 18:50:23 +02:00
mkdir-label.c shared: split mkdir_*() and mkdir_*_label() from each other 2013-07-26 04:13:55 +02:00
mkdir.c tmpfiles: get rid of "m" lines, make them redundant by "z" 2014-06-10 23:42:16 +02:00
mkdir.h shared: include stdbool.h in mkdir.h 2014-07-16 12:59:04 +02:00
MurmurHash2.c libudev: ship the original MurmurHash2.[ch] file 2013-12-23 02:55:06 +01:00
MurmurHash2.h libudev: ship the original MurmurHash2.[ch] file 2013-12-23 02:55:06 +01:00
nss-util.h nss-util: be a tiny bit more compatible with glibc's lookup behaviour regarding IPv6 2014-07-17 19:39:50 +02:00
output-mode.h systemctl: suppress duplicate newline if there's not log output in "systemctl status" 2014-03-13 04:17:37 +01:00
pager.c systemd-verify: check man pages 2014-07-20 19:48:16 -04:00
pager.h systemd-verify: check man pages 2014-07-20 19:48:16 -04:00
path-lookup.c Merge systemd-verify with systemd-analyze 2014-07-21 21:42:28 -04:00
path-lookup.h install: simplify usage of _cleanup_ macros 2014-08-21 19:08:30 +02:00
path-util.c util: try to be a bit more NFS compatible when checking whether an FS is writable 2014-08-18 23:16:36 +02:00
path-util.h Add utility function to append root to path 2014-07-26 15:08:42 -04: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
pty.c barrier: initalize file descriptors with -1 2014-07-18 20:12:44 -04:00
pty.h shared: add PTY helper 2014-07-17 11:39:48 +02:00
ptyfwd.c ptyfwd: reset nonblocking mode 2014-02-21 18:42:14 +01: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
ring.c shared: fix coding-style for ring-buffer implementation 2014-07-11 16:43:53 +02:00
ring.h shared: fix coding-style for ring-buffer implementation 2014-07-11 16:43:53 +02:00
seccomp-util.c seccomp: add helper call to add all secondary archs to a seccomp filter 2014-02-18 22:14:00 +01:00
seccomp-util.h seccomp: add helper call to add all secondary archs to a seccomp filter 2014-02-18 22:14:00 +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 networkd: expose a global list of DNS and NTP servers in the state file 2014-08-12 13:02:27 +02:00
set.h networkd: expose a global list of DNS and NTP servers in the state file 2014-08-12 13:02:27 +02:00
siphash24.c shared: switch our hash table implementation over to SipHash 2013-12-22 21:12:25 +01:00
siphash24.h shared: switch our hash table implementation over to SipHash 2013-12-22 21:12:25 +01:00
sleep-config.c Reject invalid quoted strings 2014-07-31 04:00:31 -04:00
sleep-config.h systemd-sleep: add support for freeze and standby 2013-05-06 22:51:57 +02:00
smack-util.c build-sys: use glibc's xattr support instead of requiring libattr 2014-05-28 17:36:40 +08:00
smack-util.h smack: rework security labeling for multiple frameworks 2014-02-24 17:37:41 +01:00
socket-label.c shared/socket-label: fix error message 2014-07-15 22:31:40 -04:00
socket-util.c util: never use ether_ntoa(), since it formats with %x, not %02x, which makes ethernet addresses look funny 2014-08-15 13:19:03 +02:00
socket-util.h util: never use ether_ntoa(), since it formats with %x, not %02x, which makes ethernet addresses look funny 2014-08-15 13:19:03 +02:00
sparse-endian.h shared: move sparse-endian.h from journal 2012-10-22 18:08:48 +02:00
spawn-ask-password-agent.c
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 time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
spawn-polkit-agent.h use #pragma once instead of foo*foo define guards 2013-11-18 20:28:54 -05:00
special.h timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no 2014-08-14 01:49:40 +02: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 service,strv: introduce strv_find_startswith() and make use of it 2014-08-21 17:24:21 +02:00
strv.h service,strv: introduce strv_find_startswith() and make use of it 2014-08-21 17:24:21 +02: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
switch-root.c use the switch_root function in shutdown 2014-08-28 15:25:15 +02:00
switch-root.h use the switch_root function in shutdown 2014-08-28 15:25:15 +02:00
test-tables.h test-tables: add new entries 2014-07-16 19:00:03 -04:00
time-dst.c always check for __BYTE_ORDER == __BIG_ENDIAN when checking for endianess 2014-07-11 15:56:16 +02:00
time-dst.h timedatectl: properly print 30 minutes DST transitions 2012-11-11 16:55:25 +01:00
time-util.c time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
time-util.h time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
udev-util.h udev: remove seqnum API and all assumptions about seqnums 2014-04-13 17:12:14 -07:00
uid-range.c tmpfiles: add new 'r' line type to add UIDs/GIDs to the pool to allocate UIDs/GIDs from 2014-08-19 19:06:39 +02:00
uid-range.h tmpfiles: add new 'r' line type to add UIDs/GIDs to the pool to allocate UIDs/GIDs from 2014-08-19 19:06:39 +02:00
unit-name.c unit-name: various modernizations 2014-06-17 01:24:03 +02:00
unit-name.h Use enums to make it obvious what boolean params mean 2013-12-26 15:49:54 -05:00
utf8.c fix a couple of more lazy "return -1" 2014-08-11 18:35:54 +02:00
utf8.h journal: fix export of messages containing newlines 2014-04-05 00:42:01 -04:00
util.c util: fix minimal race where we might miss SIGTERMs when forking off an agent 2014-08-27 21:43:46 +02:00
util.h util: make lookup_uid() global 2014-08-27 18:42:28 +02:00
utmp-wtmp.c utmp-wtmp: allow overriding username on wall 2014-03-14 21:27:33 +01:00
utmp-wtmp.h utmp-wtmp: allow overriding username on wall 2014-03-14 21:27:33 +01:00
virt.c systemd-detect-virt: detect s390 virtualization 2014-07-18 09:20:13 -04:00
virt.h virt: make Virtualization an anonymous enum 2014-02-24 13:26:44 +01:00
watchdog.c time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
watchdog.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
xml.c bus: add basic dbus1 policy parser 2014-06-06 19:41:24 +02:00
xml.h bus: add basic dbus1 policy parser 2014-06-06 19:41:24 +02:00