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);
 }
 
 /*

Reply via email to