| /xnu-12377.41.6/bsd/kern/ |
| H A D | mach_process.c | 141 if (ISSET(p->p_lflag, P_LTRACED)) { in ptrace() 150 SET(p->p_lflag, P_LNOATTACH); in ptrace() 208 SET(p->p_lflag, P_LTRACED); in ptrace() 221 if (ISSET(p->p_lflag, P_LTRACED)) { in ptrace() 222 SET(p->p_lflag, P_LSIGEXC); in ptrace() 247 if (t->p_lflag & P_LTRACE_WAIT) { in ptrace() 280 SET(t->p_lflag, P_LTRACED); in ptrace() 282 SET(t->p_lflag, P_LSIGEXC); in ptrace() 322 if (ISSET(t->p_lflag, P_LNOATTACH)) { in ptrace() 334 if (!ISSET(t->p_lflag, P_LTRACED)) { in ptrace() [all …]
|
| H A D | kern_sig.c | 1805 if (!(p->p_lflag & P_LTRACED) && (p->p_sigignore & mask)) { in threadsignal() 1814 if (set_exitreason && ((p->p_lflag & P_LTRACED) || (!(uth->uu_sigwait & mask) in threadsignal() 2133 …if (((flavor & PSIG_VFORK) == 0) && ((sig_proc->p_lflag & P_LTRACED) == 0) && (sig_proc->p_sigigno… in psignal_internal() 2153 if (ISSET(sig_proc->p_flag, P_REBOOT) || ISSET(sig_proc->p_lflag, P_LEXIT)) { in psignal_internal() 2193 if (sig_proc->p_lflag & P_LTRACED) { in psignal_internal() 2221 (sig_proc->p_lflag & P_LTRACED) == 0) { in psignal_internal() 2274 if (sig_proc->p_lflag & P_LTRACED) { in psignal_internal() 2377 sig_proc->p_lflag &= ~P_LWAITED; in psignal_internal() 2546 if ((sig_proc->p_lflag & P_LTRACED) != 0 && sig_proc->p_xstat != 0) { in psignal_internal() 2694 if (p->p_lflag & P_LPPWAIT) { in issignal_locked() [all …]
|
| H A D | kern_proc.c | 1771 retval = p->p_lflag & P_LEXIT; in proc_exiting() 1782 retval = p->p_lflag & P_LPEXIT; in proc_in_teardown() 1848 return (proc->p_lflag & P_LHASTASK) ? task_from_proc : NULL; in proc_task() 1856 proc->p_lflag &= ~P_LHASTASK; in proc_set_task() 1861 proc->p_lflag |= P_LHASTASK; in proc_set_task() 2750 child->p_lflag |= (sibling->p_lflag & (P_LTRACED | P_LSIGEXC | P_LNOATTACH)); in pinsertchild() 4504 while ((p->p_lflag & P_LINTRANSIT) == P_LINTRANSIT) { in proc_transstart() 4505 if (((p->p_lflag & P_LTRANSCOMMIT) == P_LTRANSCOMMIT) || non_blocking) { in proc_transstart() 4511 p->p_lflag |= P_LTRANSWAIT; in proc_transstart() 4512 msleep(&p->p_lflag, &p->p_mlock, 0, "proc_signstart", NULL); in proc_transstart() [all …]
|
| H A D | kern_exit.c | 1622 proc_exiting = !!(p->p_lflag & P_LEXIT); in exit_with_reason() 1655 p->p_lflag |= P_LEXIT; in exit_with_reason() 1657 p->p_lflag |= jetsam_flags; in exit_with_reason() 1971 (p->p_pptr->p_lflag & P_LNOATTACH)) { in proc_prepareexit() 2171 p->p_lflag &= ~(P_LTRACED | P_LPPWAIT); in proc_prepareexit() 2178 if (p->p_lflag & P_LTERM) { in proc_prepareexit() 2181 p->p_lflag |= P_LTERM; in proc_prepareexit() 2209 if (!(p->p_lflag & P_LEXIT)) { in proc_exit() 2214 p->p_lflag |= P_LEXIT; in proc_exit() 2220 } else if (!(p->p_lflag & P_LTERM)) { in proc_exit() [all …]
|
| H A D | proc_info.c | 419 …if ((p->p_ppid != (pid_t)typeinfo) && (((p->p_lflag & P_LTRACED) == 0) || (p->p_oppid != (pid_t)ty… in proc_listpids() 714 if ((p->p_lflag & P_LTRACED) == P_LTRACED) { in proc_pidbsdinfo() 717 if ((p->p_lflag & P_LEXIT) == P_LEXIT) { in proc_pidbsdinfo() 720 if ((p->p_lflag & P_LPPWAIT) == P_LPPWAIT) { in proc_pidbsdinfo() 843 if ((p->p_lflag & P_LTRACED) == P_LTRACED) { in proc_pidshortbsdinfo() 846 if ((p->p_lflag & P_LEXIT) == P_LEXIT) { in proc_pidshortbsdinfo() 849 if ((p->p_lflag & P_LPPWAIT) == P_LPPWAIT) { in proc_pidshortbsdinfo() 3304 pself->p_lflag |= P_LVMRSRCOWNER; in proc_setcontrol() 3905 if ((p->p_lflag & P_LTRACED) != 0 && in proc_pidexitreasoninfo() 3972 if ((p->p_lflag & P_LTRACED) != 0 && in proc_pidnoteexit() [all …]
|
| H A D | kern_shutdown.c | 439 || ((delayterm == 0) && ((p->p_lflag & P_LDELAYTERM) == P_LDELAYTERM)) in sd_filt1() 495 || ((delayterm == 0) && ((p->p_lflag & P_LDELAYTERM) == P_LDELAYTERM))) { in sd_filt2()
|
| H A D | kern_fork.c | 616 if (parent_proc->p_lflag & P_LEXIT || !thread_is_active(current_thread())) { in fork() 1166 if ((parent_proc->p_lflag & P_LREGISTER) != 0) { in forkproc() 1167 child_proc->p_lflag |= P_LREGISTER; in forkproc()
|
| H A D | kern_resource.c | 1522 if (p->p_lflag & P_LCUSTOM_STACK) { in dosetrlimit() 1999 while (p->p_lflag & P_LLIMCHANGE) { in proc_limitblock() 2000 p->p_lflag |= P_LLIMWAIT; in proc_limitblock() 2003 p->p_lflag |= P_LLIMCHANGE; in proc_limitblock() 2015 p->p_lflag &= ~P_LLIMCHANGE; in proc_limitunblock() 2016 if (p->p_lflag & P_LLIMWAIT) { in proc_limitunblock() 2017 p->p_lflag &= ~P_LLIMWAIT; in proc_limitunblock()
|
| H A D | kern_exec.c | 2251 if (!vfexec && !spawn && (p->p_lflag & P_LTRACED)) { in exec_mach_imgact() 2645 if (p->p_pptr && (p->p_lflag & P_LPPWAIT)) { in exec_mach_imgact() 2647 p->p_lflag &= ~P_LPPWAIT; in exec_mach_imgact() 2826 if (p->p_lflag & P_LEXIT) { in exec_activate_image() 5347 if (imgp != NULL && spawn_no_exec && (p->p_lflag & P_LTRACED)) { in posix_spawn() 5364 if (!error && ((p->p_lflag & P_LTERM_DECRYPTFAIL) == 0)) { in posix_spawn() 5613 proc_active = !(old_proc->p_lflag & P_LEXIT); in proc_exec_switch_task() 5687 new_proc->p_lflag &= ~(P_LTRACED | P_LSIGEXC | P_LNOATTACH); in proc_exec_switch_task() 5688 new_proc->p_lflag |= (old_proc->p_lflag & (P_LTRACED | P_LSIGEXC | P_LNOATTACH)); in proc_exec_switch_task() 5693 new_proc->p_lflag |= P_LTRACE_WAIT; in proc_exec_switch_task() [all …]
|
| H A D | kern_sysctl.c | 1142 if (p->p_lflag & P_LTRACED && !bootarg_hide_process_traced) { 1144 if (p->p_lflag & P_LTRACED) { 1148 if (p->p_lflag & P_LPPWAIT) { 1151 if (p->p_lflag & P_LEXIT) { 1205 if (p->p_lflag & P_LTRACED && !bootarg_hide_process_traced) { 1207 if (p->p_lflag & P_LTRACED) { 1211 if (p->p_lflag & P_LPPWAIT) { 1214 if (p->p_lflag & P_LEXIT) { 3512 …int error = sysctl_io_number(req, (req->p->p_lflag & P_LDELAYTERM)? 1: 0, sizeof(int), &new_value,… 3516 req->p->p_lflag |= P_LDELAYTERM; [all …]
|
| H A D | kern_persona.c | 633 assert(((p->p_lflag & P_LINTRANSIT) == P_LINTRANSIT) && in proc_set_persona_internal()
|
| H A D | tty.c | 1102 (p->p_lflag & P_LPPWAIT) == 0 && in ttioctl_locked() 2134 p->p_lflag & P_LPPWAIT) { in ttread() 2505 ISSET(tp->t_lflag, TOSTOP) && (p->p_lflag & P_LPPWAIT) == 0 && in ttwrite()
|
| H A D | kern_event.c | 1125 if ((p->p_lflag & P_LTRACED) != 0 && in filt_procattach() 1242 if ((kn->kn_proc->p_lflag & in filt_procevent() 1246 if ((kn->kn_proc->p_lflag & in filt_procevent() 1249 switch (kn->kn_proc->p_lflag & P_JETSAM_MASK) { in filt_procevent()
|
| H A D | mach_loader.c | 1653 p->p_lflag |= P_LTERM_DECRYPTFAIL; in parse_machfile()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | signalvar.h | 103 | (((p)->p_lflag & P_LTRACED) ? 0 : (p)->p_sigignore)) \
|
| H A D | proc_internal.h | 324 unsigned int p_lflag; /* local flags (PL) */ member
|
| /xnu-12377.41.6/tools/lldbmacros/tests/lldb_tests/ |
| H A D | test_scripted_process.py | 318 mock.p_lflag = 0x00000002
|
| /xnu-12377.41.6/bsd/dev/arm64/ |
| H A D | fasttrap_isa.c | 240 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) { 1007 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
|
| /xnu-12377.41.6/bsd/dev/i386/ |
| H A D | fasttrap_isa.c | 737 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) { in fasttrap_return_common() 1043 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) { in fasttrap_pid_probe32() 1604 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) { in fasttrap_pid_probe64()
|
| /xnu-12377.41.6/security/ |
| H A D | mac_base.c | 1712 !(p->p_lflag & P_LTRACED && (p->p_lflag & P_LPPWAIT) == 0)) { in mac_do_machexc()
|
| /xnu-12377.41.6/bsd/pthread/ |
| H A D | pthread_shims.c | 146 return p->p_lflag & P_LREGISTER; in proc_get_register()
|
| H A D | pthread_workqueue.c | 2089 if ((p->p_lflag & P_LREGISTER) == 0) { in workq_open() 3717 if ((p->p_lflag & P_LREGISTER) == 0) { in workq_kernreturn()
|
| /xnu-12377.41.6/bsd/dev/dtrace/ |
| H A D | fasttrap.c | 1633 if (p->p_lflag & P_LEXIT) { in fasttrap_provider_lookup() 2424 if (ISSET(p->p_lflag, P_LNOATTACH)) { in fasttrap_check_cred_priv()
|
| /xnu-12377.41.6/tools/lldbmacros/ |
| H A D | process.py | 381 if proc_addr and unsigned(proc.p_lflag) & P_LHASTASK: 813 if int(proc.p_lflag) & 0x400000 :
|
| /xnu-12377.41.6/bsd/vfs/ |
| H A D | vfs_syscalls.c | 12281 *is_resolver = ((p->p_lflag & P_LNSPACE_RESOLVER) && in nspace_resolver_get_proc_state() 12309 p->p_lflag |= P_LNSPACE_RESOLVER; in nspace_resolver_set_proc_state() 12331 if ((p->p_lflag & P_LNSPACE_RESOLVER) != 0 || in nspace_materialization_get_proc_state() 12344 if (p->p_lflag & P_LNSPACE_RESOLVER) { in nspace_materialization_set_proc_state() 12631 if ((p->p_lflag & P_LNSPACE_RESOLVER) && in nspace_resolver_exited()
|