Re: [PATCH v3] selftests/pidfd: wait for POLLHUP before reading exit info

From: Oleg Nesterov

Date: Tue Oct 20 2026 - 05:53:51 EST


On 10/18, fujo wrote:
>
> The zero-timeout liveness check in autokill_pidfd_open_no_effect keeps
> POLLIN; it verifies that the child has not exited yet.

Confused... V3 still changes the 1st poll(&pfd, 1, 0) to use POLLHUP?

Oleg.