mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 21:37:23 +00:00
The main reason is to improve the comment about pidfd in Go 1.23+.
While at it:
- avoid slice manipulation as we only need count;
- avoid repeating "/proc/self/fd".
Updates: #10345.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 94c163209d)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>