sig = 0;
}
PGRP_LOCK(pg);
/*
* pg may no longer be our process group.
* Run the checks again if that's the case.
*/
PROC_LOCK(p);
if (__predict_false(p->p_pgrp != pg)) {
PROC_UNLOCK(p);
PGRP_UNLOCK(pg);
continue;
pgsignal(pg, ksi.ksi_signo, 1, &ksi);