]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
update TODO 29142/head
authorLennart Poettering <lennart@poettering.net>
Sat, 9 Sep 2023 07:56:29 +0000 (09:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 9 Sep 2023 12:11:10 +0000 (14:11 +0200)
TODO

diff --git a/TODO b/TODO
index 3e66361eebb08f658fbdef883f9cf970e7a568fe..cf2d13688e44d6134440a533f00b9ffc6c32106d 100644 (file)
--- a/TODO
+++ b/TODO
@@ -122,9 +122,6 @@ Deprecations and removals:
 * drop fd_is_mount_point() fallback mess once we can rely on
   STATX_ATTR_MOUNT_ROOT to exist i.e. kernel baseline 5.8
 
-* rework our PID tracking in services and so on, to be strictly based on pidfd,
-  once kernel baseline is 5.13.
-
 * Remove /dev/mem ACPI FPDT parsing when /sys/firmware/acpi/fpdt is ubiquitous.
   That requires distros to enable CONFIG_ACPI_FPDT, and have kernels v5.12 for
   x86 and v6.2 for arm.
@@ -136,6 +133,22 @@ Deprecations and removals:
 
 Features:
 
+* PidRef conversion work:
+  - pid_is_unwaited() → pidref_is_unwaited()
+  - pid_is_alive() → pidref_is_alive()
+  - unit_watch_pid() → unit_watch_pidref()
+  - unit_kill_common()
+  - unit_kill_context()
+  - service_set_main_pid()
+  - actually wait for POLLIN on piref's pidfd in service logic
+  - unit_main_pid() + unit_control_pid()
+  - exec_spawn()
+  - serialization of control/main pid in service, socket, mount, swap units
+  - unit_fork_and_watch_rm_rf()
+  - cg_pid_get_unit()
+  - openpt_allocate_in_namespace()
+  - scope dbus PIDs property needs to gain PIDFDs companion
+
 * ddi must be listed as block device fstype
 
 * measure some string via pcrphase whenever we end up booting into emergency
@@ -1281,8 +1294,6 @@ Features:
 
 * if /usr/bin/swapoff fails due to OOM, log a friendly explanatory message about it
 
-* pid1: Move to tracking of main pid/control pid of units per pidfd
-
 * pid1: support new clone3() fork-into-cgroup feature
 
 * pid1: also remove PID files of a service when the service starts, not just