git: 75ccdf8cff48 - stable/15 - pdwait(2): make debugging events functional

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a8124a1.44c93.2ea8a0ba__26299.2995952786$1786848732$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=75ccdf8cff485db1f8c9653df6e706bbb9227372

commit 75ccdf8cff485db1f8c9653df6e706bbb9227372
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-07-11 15:50:26 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:30 +0000

    pdwait(2): make debugging events functional
    
    (cherry picked from commit 0f1718e0d588375d6ab6be52f5253fe143c5c75f)
---
 sys/kern/sys_procdesc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/sys_procdesc.c b/sys/kern/sys_procdesc.c
index 0c6b430b7f39..dd8119296930 100644
--- a/sys/kern/sys_procdesc.c
+++ b/sys/kern/sys_procdesc.c
@@ -369,6 +369,7 @@ procdesc_jobstate(struct proc *p)
 	PROCDESC_LOCK(pd);
 	KNOTE_LOCKED(&pd->pd_selinfo.si_note, NOTE_PDSIGCHLD);
 	PROCDESC_UNLOCK(pd);
+	wakeup(&p->p_procdesc);
 }
 
 /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.