Re: [PATCH net] selftests: af_unix: verify SCM_PIDFD pidfd in cmsg_check_dead()
Jakub Kicinski <[email protected]>
| Newsgroups | org.kernel.vger.linux-kselftest,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 17 Aug 2026 14:11:21 +0800 Lei Zhu wrote: > The cmsg_check_dead() function receives an expected_pid parameter but never > actually verifies that the pidfd received via SCM_PIDFD corresponds to that > PID. It only checks the child's exit code via PIDFD_GET_INFO. this breaks the test: (scm_pidfd.c:282: errno: None) wrong SCM_PIDFD -1 != <PID> If you want to improve the test please repost this patch in 2 weeks after the merge window. This patch should not carry the Fixes tag.