]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: drop acquire_data_fd_full() helper
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2024 17:51:34 +0000 (18:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2024 17:26:15 +0000 (18:26 +0100)
commita87a9625f8bde776ece11b8ddb77588cfff73038
tree616b3fe12b4a010dbe72a5329fe0282ed9f7a95d
parent8d08f18b52363095f8fa6465216d5d2a349c8fce
tree-wide: drop acquire_data_fd_full() helper

Let's drop support systems lacking memfds, i.e. pre kernel 3.17 systems.
This allows us to drastically simplify the "data fd" concept, so far
that we can remove it entirely.

This replaces acquire_data_fd() with a specialized call to
memfd_new_and_seal(), not that memfds can be the only implementation of
the concept.
14 files changed:
src/basic/memfd-util.c
src/basic/memfd-util.h
src/core/dbus-manager.c
src/core/exec-invoke.c
src/home/homed-home.c
src/home/homework-cifs.c
src/network/networkd-serialize.c
src/oom/oomd-manager-bus.c
src/shared/bus-util.c
src/shared/data-fd-util.c
src/shared/data-fd-util.h
src/test/test-data-fd-util.c
src/test/test-fd-util.c
src/test/test-varlink.c