From a1f7cdc636ac46ad1489f8557f2a4d945f98ed15 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 9 Sep 2023 09:56:29 +0200 Subject: [PATCH] update TODO --- TODO | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 3e66361eebb..cf2d13688e4 100644 --- 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 -- 2.47.3