mirror of
https://github.com/opencontainers/runc.git
synced 2026-06-24 08:48:44 +00:00
Replace the goroutine + channel + 100ms time.After + blocking open in handleFifo with a poll(2) loop on a non-blocking open. Use pidfd_open(2) where available to wait for init exit without timeout, falling back to /proc state checks with 100ms timeout on older kernels. Fixes #5251 Signed-off-by: Mohammed Aminu Futa <mohammedfuta2000@gmail.com> Signed-off-by: lifubang <lifubang@acmcoder.com>
37 KiB
37 KiB