Home
last modified time | relevance | path

Searched refs:p_flag2 (Results 1 – 15 of 15) sorted by relevance

/f-stack/freebsd/kern/
H A Dkern_procctl.c62 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 …]
H A Dkern_fork.c487 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()
H A Dsubr_syscall.c228 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
H A Dkern_exec.c760 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()
H A Dsys_process.c600 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()
H A Dimgact_elf.c1192 (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()
H A Dinit_main.c495 p->p_flag2 = 0; in proc0_init()
H A Dkern_sig.c2627 ((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()
H A Dkern_exit.c526 q->p_flag2 &= ~P2_PTRACE_FSTP; in exit1()
H A Dkern_prot.c1764 if ((p->p_flag2 & P2_NOTRACE) != 0) { in p_candebug()
H A Dkern_proc.c1068 kp->ki_flag2 = p->p_flag2; in fill_kinfo_proc_only()
/f-stack/freebsd/ddb/
H A Ddb_ps.c489 db_printf(" flag2: %#x\n", p->p_flag2); in DB_SHOW_COMMAND()
/f-stack/freebsd/vm/
H A Dvm_mmap.c190 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()
H A Dvm_map.c4544 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()
/f-stack/freebsd/sys/
H A Dproc.h610 int p_flag2; /* (c) P2_* flags. */ member