Lines Matching refs:p_flag

301 		if ((p->p_flag & P_PPWAIT) == 0 &&  in ast_sig()
1813 if (p->p_pid <= 1 || (p->p_flag & P_SYSTEM) != 0 || in killpg1_sendsig()
1827 if (p->p_pid <= 1 || (p->p_flag & P_SYSTEM) != 0 || in kill_processes_prison_cb()
2084 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()
2137 if ((p->p_flag & P_TRACED) == 0 && SIGISMEMBER(ps->ps_sigcatch, sig) && in trapsignal()
2372 if (p->p_flag & P_CONTINUED) { in tdsendsignal()
2373 p->p_flag &= ~P_CONTINUED; in tdsendsignal()
2389 !((prop & SIGPROP_CONT) && (p->p_flag & P_STOPPED_SIG))) in tdsendsignal()
2401 KASSERT(!(p->p_flag & P_WEXIT), in tdsendsignal()
2408 if (p->p_flag & P_TRACED) in tdsendsignal()
2415 p->p_flag &= ~P_STOPPED_SIG; in tdsendsignal()
2424 if (p->p_flag & P_TRACED) in tdsendsignal()
2436 p->p_flag &= ~P_STOPPED_SIG; in tdsendsignal()
2440 p->p_flag |= P_CONTINUED; in tdsendsignal()
2474 if (p->p_flag & P_TRACED) in tdsendsignal()
2481 p->p_flag |= P_STOPPED_SIG; in tdsendsignal()
2507 if (p->p_flag & P_TRACED || action == SIG_CATCH) { in tdsendsignal()
2515 if (p->p_flag & (P_PPWAIT|P_WEXIT)) in tdsendsignal()
2517 p->p_flag |= P_STOPPED_SIG; in tdsendsignal()
2756 KASSERT((p->p_flag & P_STOPPED_TRACE) != 0, ("not stopped")); in ptrace_remotereq()
2830 KASSERT(!(p->p_flag & P_WEXIT), ("Stopping exiting process")); in ptracestop()
2841 while ((p->p_flag & P_TRACED) && (td->td_dbgflags & TDB_XSIG)) { in ptracestop()
2855 if (p->p_flag & P_SINGLE_EXIT && in ptracestop()
2890 p->p_flag |= P_STOPPED_SIG | P_STOPPED_TRACE; in ptracestop()
2913 if (!(p->p_flag & P_TRACED)) in ptracestop()
2916 if (p->p_flag & P_SINGLE_EXIT) in ptracestop()
2976 if (p->p_flag & P_TRACED || in reschedule_signals()
3133 (p->p_flag & P_TRACED) == 0 && in sigprocess()
3148 if ((p->p_flag & (P_TRACED | P_PPTRACE)) == P_TRACED) { in sigprocess()
3190 if ((p->p_flag & P_TRACED) == 0) { in sigprocess()
3231 if ((p->p_flag & (P_TRACED | P_WEXIT | in sigprocess()
3248 p->p_flag |= P_STOPPED_SIG; in sigprocess()
3308 if ((p->p_flag & P_PPWAIT) != 0 || (td->td_flags & in issignal()
3331 if ((p->p_flag & (P_TRACED | P_PPTRACE)) == P_TRACED && in issignal()
3373 if ((p->p_flag & P_STOPPED_SIG) && (n == p->p_numthreads)) { in thread_stopped()
3375 p->p_flag &= ~P_WAITED; in thread_stopped()
3377 childproc_stopped(p, (p->p_flag & P_TRACED) ? in thread_stopped()
3574 if ((p->p_flag & P_WKILLED) == 0) in proc_wkilled()
3575 p->p_flag |= P_WKILLED; in proc_wkilled()
3707 p->p_pptr->p_flag |= P_STATCHILD; in childproc_jobstate()
3912 if ((td->td_proc->p_flag & P_SUGID) != 0) { in corefile_open_last()
4049 if ((td->td_proc->p_flag & P_SUGID) != 0) in corefile_open()
4097 MPASS((p->p_flag & P_HADTHREADS) == 0 || p->p_singlethread == td); in coredump()
4099 if (!do_coredump || (!sugid_coredump && (p->p_flag & P_SUGID) != 0) || in coredump()
4285 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()