
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>
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>