Searched refs:p_flag2 (Results 1 – 15 of 15) sorted by relevance
62 p->p_flag2 |= P2_INHERIT_PROTECTED; in protect_setchild()367 p->p_flag2 &= ~P2_NOTRACE_EXEC; in trace_ctl()369 p->p_flag2 |= P2_NOTRACE; in trace_ctl()402 p->p_flag2 |= P2_TRAPCAP; in trapcap_ctl()405 p->p_flag2 &= ~P2_TRAPCAP; in trapcap_ctl()430 p->p_flag2 |= P2_PROTMAX_ENABLE; in protmax_ctl()475 p->p_flag2 &= ~P2_ASLR_DISABLE; in aslr_ctl()476 p->p_flag2 |= P2_ASLR_ENABLE; in aslr_ctl()479 p->p_flag2 |= P2_ASLR_DISABLE; in aslr_ctl()480 p->p_flag2 &= ~P2_ASLR_ENABLE; in aslr_ctl()[all …]
487 p2->p_flag2 = p1->p_flag2 & (P2_ASLR_DISABLE | P2_ASLR_ENABLE | in do_fork()519 if (p1->p_flag2 & P2_INHERIT_PROTECTED) { in do_fork()521 p2->p_flag2 |= P2_INHERIT_PROTECTED; in do_fork()
228 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
760 if ((p->p_flag2 & P2_NOTRACE_EXEC) == 0) in do_execve()761 p->p_flag2 &= ~P2_NOTRACE; in do_execve()762 if ((p->p_flag2 & P2_STKGAP_DISABLE_EXEC) == 0) in do_execve()763 p->p_flag2 &= ~P2_STKGAP_DISABLE; in do_execve()
600 p->p_flag2 |= P2_PTRACE_FSTP; in proc_set_traced()1048 if ((p->p_flag2 & P2_PTRACE_FSTP) != 0) { in kern_ptrace()1050 p->p_flag2 &= ~P2_PTRACE_FSTP; in kern_ptrace()
1192 (imgp->proc->p_flag2 & P2_ASLR_DISABLE) == 0) || in __CONCAT()1193 (imgp->proc->p_flag2 & P2_ASLR_ENABLE) != 0) in __CONCAT()1222 imgp->proc->p_flag2 &= ~(P2_ASLR_ENABLE | P2_ASLR_DISABLE); in __CONCAT()1226 (imgp->proc->p_flag2 & P2_ASLR_DISABLE) != 0 || in __CONCAT()1230 } else if ((imgp->proc->p_flag2 & P2_ASLR_ENABLE) != 0 || in __CONCAT()1241 (imgp->proc->p_flag2 & P2_ASLR_IGNSTART) != 0) in __CONCAT()
495 p->p_flag2 = 0; in proc0_init()
2627 ((p->p_flag2 & P2_PTRACE_FSTP) == 0 && in ptracestop()2640 p->p_flag2 &= ~P2_PTRACE_FSTP; in ptracestop()2888 (p->p_flag2 & P2_PTRACE_FSTP) != 0 && in issignal()3750 (p->p_flag2 & P2_NOTRACE) != 0) { in coredump()
526 q->p_flag2 &= ~P2_PTRACE_FSTP; in exit1()
1764 if ((p->p_flag2 & P2_NOTRACE) != 0) { in p_candebug()
1068 kp->ki_flag2 = p->p_flag2; in fill_kinfo_proc_only()
489 db_printf(" flag2: %#x\n", p->p_flag2); in DB_SHOW_COMMAND()
190 if ((p->p_flag2 & P2_PROTMAX_DISABLE) != 0 || in kern_mmap_maxprot()193 if (((p->p_flag2 & P2_PROTMAX_ENABLE) != 0 || imply_prot_max) && in kern_mmap_maxprot()
4544 sgp = ((curproc->p_flag2 & P2_STKGAP_DISABLE) != 0 || in vm_map_stack_locked()4682 guard = ((curproc->p_flag2 & P2_STKGAP_DISABLE) != 0 || in vm_map_growstack()
610 int p_flag2; /* (c) P2_* flags. */ member