1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00
systemd-stable/src
Lennart Poettering a74e2e447f homework: move allocation/destruction into outer/generic scope
Previously in most cases we'd allocate the HomeSetup context object
in generic code in homework.c. But for some cases we allocated them
instead inside the specific code in homework-{cifs,directory,luks}.c
Let's clean that up, and systematically allocate it in the outer
"entrypoint" calls in homework.c instead of the inner ones.

This doesn't change much in behaviour (i.e. it just means when something
fails we'll now clean it up one stack frame further up). But it will
allow is to more easily work with the context objects, since we'll have
them around in all stack frames.
2021-10-18 22:45:19 +02:00
..
ac-power Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
activate activate: simplify/rework implementation of --setenv 2021-08-11 10:17:50 +02:00
analyze tree-wide: assorted Coccinelle fixes 2021-10-08 15:03:27 +02:00
ask-password Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
backlight alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
basic Merge pull request #20983 from mxre/feature/aarch64 2021-10-15 10:26:10 +02:00
binfmt Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
boot [sd-stub] add support for embedding devicetree 2021-10-15 21:47:42 +02:00
busctl test: shorten code a bit 2021-10-12 03:31:54 +09:00
cgls cgls: enable cgroupid/xattr output by default (but make it configurable) 2021-10-07 11:50:47 +02:00
cgroups-agent
cgtop tree-wide: voidify unchecked snprintf calls 2021-08-20 18:29:40 +01:00
core bpf: fix SPDX short identifier for LGPL-2.1-or-later 2021-10-18 09:04:45 +02:00
coredump alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
creds variuos: add missing includes 2021-09-22 12:58:46 +02:00
cryptenroll cryptenroll: politely refuse enrolling keys into homed volumes 2021-10-08 23:50:04 +02:00
cryptsetup cryptsetup: minor modernizations 2021-10-11 11:12:29 +02:00
debug-generator
delta basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
detect-virt Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
dissect basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
environment-d-generator
escape escape: improve logging when escaping paths that are slightly non-conforming 2021-09-14 03:04:57 +09:00
firstboot basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
fsck
fstab-generator basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
fundamental move mfree to macro-fundamentals.h 2021-10-12 18:31:57 +02:00
fuzz fuzz-fido-id-desc: drop unused case file 2021-10-18 09:43:18 +02:00
getty-generator
gpt-auto-generator Merge pull request #20257 from bluca/seqno 2021-08-31 09:06:33 +01:00
hibernate-resume
home homework: move allocation/destruction into outer/generic scope 2021-10-18 22:45:19 +02:00
hostname hostnamed: add support for getting the chassis type from device-tree 2021-09-15 16:46:07 +02:00
hwdb hwdb: remove double empty line in --help text 2021-08-30 22:25:04 +09:00
id128 id128: clarify that the "well-known" IDs are about GPT partition types 2021-09-10 13:39:16 +02:00
import basic: split out sync() family of calls from fs-util.[ch] into new c/h file 2021-10-05 15:47:32 +02:00
initctl tree-wide: mark set-but-not-used variables as unused to make LLVM happy 2021-09-15 13:09:45 +02:00
integritysetup Add stand-alone dm-integrity support 2021-10-15 10:19:54 -05:00
journal alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
journal-remote alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
kernel-install
libsystemd Merge pull request #20996 from yuwata/udevadm-trigger-debug 2021-10-15 09:44:59 +02:00
libsystemd-network sd-dhcp6-client: max_retransmit_time must be positive 2021-10-13 02:49:49 +09:00
libudev Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
locale alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
login basic: split out glyph/emoji related calls from locale-util.[ch] into glyph-util.[ch] 2021-10-05 16:14:37 +02:00
machine alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
machine-id-setup tree-wide: port everything over to new sd-id128 compund literal bliss 2021-08-20 11:09:48 +02:00
modules-load Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
mount basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
network alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
notify Add implicit sentinel to strv_env_merge() 2021-08-11 09:11:42 +02:00
nspawn alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
nss-myhostname
nss-mymachines
nss-resolve
nss-systemd tree-wide: mark set-but-not-used variables as unused to make LLVM happy 2021-09-15 13:09:45 +02:00
oom test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
partition Merge pull request #20937 from poettering/sync-split 2021-10-06 12:27:27 +09:00
path Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
portable alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
pstore
quotacheck
random-seed basic: split out sync() family of calls from fs-util.[ch] into new c/h file 2021-10-05 15:47:32 +02:00
rc-local-generator
remount-fs
reply-password
resolve alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
rfkill
rpm licensing: add forgotten spdx headers 2021-10-01 14:45:00 +02:00
run core: Add ExecSearchPath parameter to specify the directory relative to which binaries executed by Exec*= should be found 2021-09-28 14:52:27 +01:00
run-generator
shared alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
shutdown homed,shutdown: call valgrind magic after LOOP_GET_STATUS64 2021-10-16 10:11:15 +02:00
sleep Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
socket-proxy alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
stdio-bridge
sulogin-shell
sysctl Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
sysext basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
system-update-generator
systemctl core: add RestrictFileSystems= fragment parser 2021-10-06 10:52:14 +02:00
systemd sd-dhcp6-client: add missing options 2021-10-12 20:48:19 +09:00
sysusers Avoid passing NULL to underlying fprintf() in sysusers (#20974) 2021-10-11 14:03:15 +09:00
sysv-generator alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
test alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
timedate alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
timesync basic: split out inotify-related calls from fs-util.h → inotify-util.h 2021-10-05 16:14:37 +02:00
tmpfiles test: use assert_se() instead of assert() 2021-10-12 15:20:28 +09:00
tty-ask-password-agent basic: split out inotify-related calls from fs-util.h → inotify-util.h 2021-10-05 16:14:37 +02:00
udev alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
update-done
update-utmp
user-sessions
userdb userdb: fix type to pass to connect() 2021-10-16 10:10:51 +02:00
vconsole
veritysetup dm-verity: Remove usage of integrity 2021-10-14 12:17:02 -05:00
version
volatile-root basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
xdg-autostart-generator