systemd/src
Lennart Poettering 05c4affe04 tmpfiles: take error code from "errno" earlier
This uses RET_NERRNO to more quickly pull the error code we see into
"r" out of "errno".

This does not change anything really. The only reason to do this is
because it is harder to break this accidentally. The thing is that
"errno" is easily set as side-effect of arbitrary functions. Thus, if we
rely on it being set for long code paths, we need to make carefully sure
that no code in between calls any function that might corrupt it as
side-effect. As far as I can see we did get this right. Nonetheless, I
think we should just store the value in "r" instead, to make it easier
to maintain this in the long run, if more code is inserted one day, who
knows.
2022-07-08 16:11:20 +02:00
..
ac-power
activate activate: reduce scope of iterator variables 2022-06-07 15:18:46 +02:00
analyze analyze-security: always save syscall name 2022-06-17 12:37:56 +09:00
ask-password strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
backlight tree-wide: unify some code that looks for --help in the command line 2022-03-31 11:44:46 +02:00
basic Merge pull request #23946 from poettering/tmpfiles-extrat-dir-fn 2022-07-08 16:10:42 +02:00
binfmt tree-wide: allow ASCII fallback for … in logs 2022-06-28 12:50:44 +02:00
boot boot: Use UEFI protocol struct names 2022-07-07 10:43:49 +02:00
busctl Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
cgls strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
cgroups-agent
cgtop strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
core namespace: fix propagated error number 2022-07-08 10:40:40 +02:00
coredump coredump: Fix format string type mismatch 2022-05-22 19:28:38 +02:00
creds creds: trivial coding style fixes 2022-05-02 18:04:53 +02:00
cryptenroll cryptenroll: fix typo 2022-06-03 17:27:22 +02:00
cryptsetup cryptsetup: fix build with -Db_ndebug=true 2022-05-21 23:27:24 +02:00
debug-generator debug-generator: shorten code a bit 2022-07-02 12:20:14 +02:00
delta strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
detect-virt virt: make virtualization enum a named type 2022-04-04 11:36:26 +02:00
dissect Add sys/file.h for LOCK_ 2022-06-21 16:07:58 +01:00
environment-d-generator tree-wide: allow ASCII fallback for … in logs 2022-06-28 12:50:44 +02:00
escape strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
firstboot firstboot: Don't skip passwd/shadow logic if only one of the files exists 2022-07-05 17:09:16 +02:00
fsck tree-wide: port various users over to connect_unix_path() 2022-05-14 05:01:38 +09:00
fstab-generator strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
fundamental fundamental: adjust #if conditional for _fallthrough_ for clang 2022-07-06 22:10:23 +02:00
fuzz fuzzers: ignore size limits when compiled standalone 2022-05-12 14:57:07 +02:00
getty-generator strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
gpt-auto-generator dissect-image: Explicitly remove partitions when done with image 2022-05-23 18:15:16 +01:00
hibernate-resume devnum-util: define helper macros for formatting devnum major/minor pairs 2022-04-13 16:26:31 +02:00
home tree-wide: link to docs.kernel.org for kernel documentation 2022-07-04 19:56:53 +02:00
hostname Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
hwdb hwdb: implement --root option for systemd-hwdb query 2022-05-27 09:40:54 -04:00
id128 strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
import Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
initctl
integritysetup integritysetup: also validate volume name 2022-03-31 11:44:46 +02:00
journal journal: Make sd_journal_previous/next() return 0 at HEAD/TAIL 2022-07-05 22:13:40 +02:00
journal-remote shared/microhttp-util: silence gcc warning 2022-06-05 15:57:39 +00:00
kernel-install Use https for gnu.org 2022-06-28 16:07:35 +02:00
libsystemd journal: Make sd_journal_previous/next() return 0 at HEAD/TAIL 2022-07-05 22:13:40 +02:00
libsystemd-network Merge pull request #23616 from keszybz/in-addr-to-string-formatting 2022-06-09 15:21:57 +09:00
libudev meson: add build targets for libudev, libsystemd and pkg-config 2022-06-12 13:13:49 +09:00
locale Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
login logind: don't start user@UID.service instance for background sessions 2022-07-07 10:10:42 +09:00
machine machine: switch to BusLocator-oriented helpers 2022-07-05 16:40:16 +02:00
machine-id-setup
modules-load strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
mount
network tree-wide: drop duplicated semicolons 2022-07-05 21:49:12 +02:00
notify notify: remove spurious whitespace 2022-04-01 15:23:43 +02:00
nspawn nspawn: support PrivateUsers=identity 2022-06-27 10:33:10 +09:00
nss-myhostname nss-myhostname: do not return IPv6 local address if IPv6 is disabled 2022-04-23 04:18:51 +09:00
nss-mymachines
nss-resolve tree-wide: allow ASCII fallback for … in logs 2022-06-28 12:50:44 +02:00
nss-systemd Use descriptive name for nobody 2022-05-27 22:09:24 +01:00
oom Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
partition tree-wide: allow ASCII fallback for → in logs 2022-06-28 12:50:43 +02:00
path
portable Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
pstore meson: do not use split() in file lists 2022-03-02 14:49:32 +01:00
quotacheck
random-seed random-seed: add missing %m in error message 2022-01-31 21:07:13 +00:00
rc-local-generator
remount-fs
reply-password
resolve tree-wide: drop duplicated semicolons 2022-07-05 21:49:12 +02:00
rfkill errno-util: add ERRNO_IS_DEVICE_ABSENT() macro 2022-03-24 16:19:48 +01:00
rpm pkgconfig,rpm: expose vars for user-tmpfiles.d location 2022-06-21 15:49:41 +09:00
run strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
run-generator tree-wide: allow ASCII fallback for → in logs 2022-06-28 12:50:43 +02:00
shared mkdir-label: don't use mkdirat_errno_wrapper() without reason 2022-07-08 16:10:26 +02:00
shutdown shutdown: Lazy unmount /oldroot/{dev,proc,sys} 2022-06-09 17:02:50 +02:00
sleep tree-wide: drop duplicated semicolons 2022-07-05 21:49:12 +02:00
socket-proxy
stdio-bridge man: systemd-stdio-bridge doesn't connect "two busses" 2022-02-04 17:43:44 +00:00
sulogin-shell
sysctl sysctl: increase log severity on failed write 2022-06-14 09:29:37 +09:00
sysext Add sys/file.h for LOCK_ 2022-06-21 16:07:58 +01:00
system-update-generator
systemctl systemctl: drop color settings in log message 2022-07-07 16:40:06 +09:00
systemd Merge pull request #23865 from keszybz/drop-memcpy-call 2022-07-02 16:59:32 +02:00
sysupdate tree-wide: allow ASCII fallback for … in logs 2022-06-28 12:50:44 +02:00
sysusers tree-wide: allow ASCII fallback for … in logs 2022-06-28 12:50:44 +02:00
sysv-generator Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test time-util: fix buffer-over-run 2022-07-08 16:09:46 +02:00
timedate Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
timesync Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
tmpfiles tmpfiles: take error code from "errno" earlier 2022-07-08 16:11:20 +02:00
tty-ask-password-agent shared/utmp-wtmp: pass information if entry is local to filter function 2022-05-31 15:54:16 +02:00
udev Merge pull request #23916 from keszybz/assorted-patches 2022-07-06 14:15:50 +09:00
update-done
update-utmp
user-sessions
userdb userwork: use a better errno value 2022-06-02 07:53:14 +02:00
vconsole Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
veritysetup veritysetup: fix memory corruption 2022-04-02 02:22:39 +09:00
version
volatile-root various: add %m in messages 2022-06-02 07:53:14 +02:00
xdg-autostart-generator tree-wide: allow ASCII fallback for … in logs 2022-06-28 12:50:44 +02:00