Created attachment 255596 [details] The patch The comment of the pfind_any_locked function in the kernel (kern_proc.c) is incorrect. It does not only find zombie processes. I have also updated the related manual page, pfind(9). You can refer to bug #283091 for more details. This patch addresses several versions greater than the 13.3 release.
grabbing, tweaking and committing.
Fixed. No MFC plans.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=509300e1ffbe71a6f6608fa188dbcfe4ae1fbbdf commit 509300e1ffbe71a6f6608fa188dbcfe4ae1fbbdf Author: Yan-Hao Wang <bses30074@gmail.com> AuthorDate: 2024-12-06 16:46:38 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-12-06 16:47:40 +0000 pfind: Fix coments PR: 283093 Reviewed by: imp sys/kern/kern_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)