Searched refs:p_lflag (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dmach_process.c132 if (ISSET(p->p_lflag, P_LTRACED)) {
141 SET(p->p_lflag, P_LNOATTACH);
160 SET(p->p_lflag, P_LTRACED);
176 if (ISSET(p->p_lflag, P_LTRACED)) {
177 SET(p->p_lflag, P_LSIGEXC);
213 SET(t->p_lflag, P_LTRACED);
215 SET(t->p_lflag, P_LSIGEXC);
245 if (ISSET(t->p_lflag, P_LNOATTACH)) {
259 if (!ISSET(t->p_lflag, P_LTRACED)) {
310 CLR(t->p_lflag, P_LTRACE
[all...]
H A Dkern_sig.c446 if ((p->p_lflag & P_LINVFORK) && p->p_vforkact) {
479 if ((p->p_lflag & P_LINVFORK) && p->p_vforkact) {
509 if ((p->p_lflag & P_LINVFORK) && p->p_vforkact) {
539 if ((p->p_lflag & P_LINVFORK) && p->p_vforkact) {
1252 if ((p->p_lflag & P_LINVFORK) && p->p_vforkact) {
1644 if (!(p->p_lflag & P_LTRACED) && (p->p_sigignore & mask)) {
1668 if ((p->p_lflag & P_LINVFORK) && p->p_vforkact) {
1766 ISSET(sig_proc->p_lflag, P_LEXIT))
1787 if (((flavor & PSIG_VFORK) == 0) && ((sig_proc->p_lflag & P_LTRACED) == 0) && (sig_proc->p_sigignore & mask)) {
1818 if (sig_proc->p_lflag
[all...]
H A Dkern_exit.c364 p->p_lflag |= P_LEXIT;
366 p->p_lflag |= jetsam_flags;
395 (p->p_pptr->p_lflag & P_LNOATTACH)) {
467 p->p_lflag &= ~(P_LTRACED | P_LPPWAIT);
491 if( !(p->p_lflag & P_LEXIT)) {
496 p->p_lflag |= P_LEXIT;
506 p->p_lflag |= P_LPEXIT;
513 if ((p->p_lflag & P_LINSIGNAL) || (p->p_sigwaitcnt > 0)) {
515 while ((p->p_lflag & P_LINSIGNAL) || (p->p_sigwaitcnt > 1))
742 if (q->p_lflag
[all...]
H A Dkern_proc.c819 retval = p->p_lflag & P_LEXIT;
2815 while ((p->p_lflag & P_LINTRANSIT) == P_LINTRANSIT) {
2816 if (((p->p_lflag & P_LTRANSCOMMIT) == P_LTRANSCOMMIT) || non_blocking) {
2821 p->p_lflag |= P_LTRANSWAIT;
2822 msleep(&p->p_lflag, &p->p_mlock, 0, "proc_signstart", NULL);
2824 p->p_lflag |= P_LINTRANSIT;
2837 assert ((p->p_lflag & P_LINTRANSIT) == P_LINTRANSIT);
2839 p->p_lflag |= P_LTRANSCOMMIT;
2841 if ((p->p_lflag & P_LTRANSWAIT) == P_LTRANSWAIT) {
2842 p->p_lflag
[all...]
H A Dkern_fork.c181 parent_proc->p_lflag |= P_LVFORK;
206 parent_proc->p_lflag &= ~P_LVFORK;
492 child_proc->p_lflag |= P_LINVFORK;
531 child_proc->p_lflag |= P_LPPWAIT;
741 child_proc->p_lflag &= ~P_LINVFORK;
1359 if ((parent_proc->p_lflag & P_LREGISTER) != 0) {
1360 child_proc->p_lflag |= P_LREGISTER;
H A Dkern_sysctl.c1022 if (p->p_lflag & P_LTRACED)
1024 if (p->p_lflag & P_LPPWAIT)
1026 if (p->p_lflag & P_LEXIT)
1072 if (p->p_lflag & P_LTRACED)
1074 if (p->p_lflag & P_LPPWAIT)
1076 if (p->p_lflag & P_LEXIT)
2220 int error = sysctl_io_number(req, (req->p->p_lflag & P_LDELAYTERM)? 1: 0, sizeof(int), &new_value, &changed);
2224 req->p->p_lflag |= P_LDELAYTERM;
2226 req->p->p_lflag &= ~P_LDELAYTERM;
2250 else if (p->p_lflag
[all...]
H A Dproc_info.c297 if ((p->p_ppid != (pid_t)typeinfo) && (((p->p_lflag & P_LTRACED) == 0) || (p->p_oppid != (pid_t)typeinfo)))
579 if ((p->p_lflag & P_LTRACED) == P_LTRACED)
581 if ((p->p_lflag & P_LEXIT) == P_LEXIT)
583 if ((p->p_lflag & P_LPPWAIT) == P_LPPWAIT)
666 if ((p->p_lflag & P_LTRACED) == P_LTRACED)
668 if ((p->p_lflag & P_LEXIT) == P_LEXIT)
670 if ((p->p_lflag & P_LPPWAIT) == P_LPPWAIT)
2174 pself->p_lflag |= P_LVMRSRCOWNER;
2467 if ((p->p_lflag & P_LTRACED) != 0 &&
2482 if ((p->p_lflag
[all...]
H A Dkern_shutdown.c287 ||((delayterm == 0) && ((p->p_lflag& P_LDELAYTERM) == P_LDELAYTERM))
334 ||((delayterm == 0) && ((p->p_lflag& P_LDELAYTERM) == P_LDELAYTERM))) {
H A Dbsd_stubs.c98 if ((p->p_lflag & P_LINVFORK) == 0)
H A Dkern_resource.c1376 while (p->p_lflag & P_LLIMCHANGE) {
1377 p->p_lflag |= P_LLIMWAIT;
1380 p->p_lflag |= P_LLIMCHANGE;
1390 p->p_lflag &= ~P_LLIMCHANGE;
1391 if (p->p_lflag & P_LLIMWAIT) {
1392 p->p_lflag &= ~P_LLIMWAIT;
H A Dkern_exec.c958 if (!vfexec && !spawn && (p->p_lflag & P_LTRACED))
1155 if (p->p_pptr && (p->p_lflag & P_LPPWAIT)) {
1157 p->p_lflag &= ~P_LPPWAIT;
1166 if (vfexec && (p->p_lflag & P_LTRACED)) {
1188 if ((p->p_lflag & P_LTERM_DECRYPTFAIL) == 0)
1290 * the proc lock to check p_lflag initially, and the transition
1295 if (p->p_lflag & P_LEXIT) {
2430 if ((p->p_lflag & P_LTERM_DECRYPTFAIL) == 0)
2492 if (imgp != NULL && spawn_no_exec && (p->p_lflag & P_LTRACED)) {
3547 if ((vp->v_mount->mnt_flag & MNT_NOSUID) || (p->p_lflag
[all...]
H A Dbsd_init.c544 kernproc->p_lflag = 0;
H A Dkern_event.c509 if ((p->p_lflag & P_LTRACED) != 0 &&
617 if ((kn->kn_ptr.p_proc->p_lflag &
621 if ((kn->kn_ptr.p_proc->p_lflag &
624 switch (kn->kn_ptr.p_proc->p_lflag &
H A Dpthread_shims.c117 return (p->p_lflag & P_LREGISTER);
H A Dtty.c1114 (p->p_lflag & P_LPPWAIT) == 0 &&
2001 p->p_lflag & P_LPPWAIT) {
2353 ISSET(tp->t_lflag, TOSTOP) && (p->p_lflag & P_LPPWAIT) == 0 &&
H A Dtty_dev.c369 p->p_lflag & P_LPPWAIT) {
H A Dkern_prot.c535 if (p->p_pgrpid == p->p_pid || (pg = pgfind(p->p_pid)) || p->p_lflag & P_LINVFORK) {
H A Dmach_loader.c798 p->p_lflag |= P_LTERM_DECRYPTFAIL;
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dsignalvar.h122 | (((p)->p_lflag & P_LTRACED) ? 0 : (p)->p_sigignore)) \
H A Dproc_internal.h255 unsigned int p_lflag; /* local flags (PL) */ member in struct:proc
/macosx-10.10/xnu-2782.1.97/bsd/dev/i386/
H A Dfasttrap_isa.c729 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
986 if (p->p_lflag & P_LINVFORK) {
988 while (p->p_lflag & P_LINVFORK)
1046 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
1545 if (p->p_lflag & P_LINVFORK) {
1547 while (p->p_lflag & P_LINVFORK)
1588 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
2178 while (p->p_lflag & P_LINVFORK)
/macosx-10.10/xnu-2782.1.97/security/
H A Dmac_base.c2129 !(p->p_lflag & P_LTRACED && (p->p_lflag & P_LPPWAIT) == 0))
/macosx-10.10/xnu-2782.1.97/tools/lldbmacros/
H A Dprocess.py363 if int(proc.p_lflag) & 0x400000 :
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/
H A Dfasttrap.c1439 if (p->p_lflag & (P_LINVFORK | P_LEXIT)) {
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dkpi_vfs.c1073 if (proc != NULL && (proc->p_fd == NULL || (proc->p_lflag & P_LVFORK)))
1502 if (proc->p_lflag & P_LRAGE_VNODES) {

Completed in 186 milliseconds

12