Home
last modified time | relevance | path

Searched refs:proc_getcsflags (Results 1 – 12 of 12) sorted by relevance

/xnu-8019.80.24/bsd/kern/
H A Dkern_cs.c218 flags = proc_getcsflags(p) & ~(CS_KILL | CS_HARD); in cs_allow_invalid()
243 return (proc_getcsflags(p) & (CS_KILL | CS_HARD)) == 0; in cs_allow_invalid()
262 flags = proc_getcsflags(p); in cs_invalid_page()
300 vaddr, proc_getpid(p), p->p_comm, (unsigned int)proc_getcsflags(p), in cs_invalid_page()
353 if (p != NULL && (proc_getcsflags(p) & CS_ENFORCEMENT)) { in cs_process_enforcement()
389 if (p != NULL && (proc_getcsflags(p) & CS_VALID)) { in cs_valid()
410 if (p != NULL && (proc_getcsflags(p) & CS_REQUIRE_LV)) { in cs_require_lv()
423 if (p != NULL && (proc_getcsflags(p) & CS_FORCED_LV)) { in csproc_forced_lv()
533 if ((proc_getcsflags(p) & CS_SIGNED) == 0) { in csproc_get_blob()
840 if (p != NULL && (proc_getcsflags(p) & CS_INVALID_ALLOWED)) { in csproc_check_invalid_allowed()
[all …]
H A Dkern_proc.c1041 return proc_getcsflags(current_proc()); in proc_selfcsflags()
1049 *flags = proc_getcsflags(p); in proc_csflags()
1598 proc_getcsflags(proc_t p) in proc_getcsflags() function
1617 proc_csflags_update(p, proc_getcsflags(p) | (uint32_t)flags); in proc_csflags_set()
1623 proc_csflags_update(p, proc_getcsflags(p) & ~(uint32_t)flags); in proc_csflags_clear()
3016 retflags = (uint32_t)proc_getcsflags(pt); in csops_internal()
3027 if ((proc_getcsflags(pt) & CS_FORCED_LV) == CS_FORCED_LV) { in csops_internal()
3039 if ((proc_getcsflags(pt) & CS_VALID) == CS_VALID) { /* is currently valid */ in csops_internal()
3042 if ((proc_getcsflags(pt) & CS_KILL) == CS_KILL) { in csops_internal()
3049 (unsigned int)proc_getcsflags(pt)); in csops_internal()
[all …]
H A Dkern_exec.c1236 if (proc_getcsflags(p) & CS_EXEC_SET_HARD) { in exec_mach_imgact()
1239 if (proc_getcsflags(p) & CS_EXEC_SET_KILL) { in exec_mach_imgact()
1242 if (proc_getcsflags(p) & CS_EXEC_SET_ENFORCEMENT) { in exec_mach_imgact()
1245 if (proc_getcsflags(p) & CS_EXEC_INHERIT_SIP) { in exec_mach_imgact()
1246 if (proc_getcsflags(p) & CS_INSTALLER) { in exec_mach_imgact()
1249 if (proc_getcsflags(p) & CS_DATAVAULT_CONTROLLER) { in exec_mach_imgact()
1252 if (proc_getcsflags(p) & CS_NVRAM_UNRESTRICTED) { in exec_mach_imgact()
6914 if (proc_getcsflags(p) & (CS_HARD | CS_KILL)) { in check_for_signature()
6918 if (proc_getcsflags(p) & CS_ENFORCEMENT) { in check_for_signature()
H A Dkern_exit.c531 csflags = (uint32_t)proc_getcsflags(p); in populate_corpse_crashinfo()
919 …launchd_crashed_prefix_str, WTERMSIG(rv), WEXITSTATUS(rv), ((proc_getcsflags(p) & CS_KILLED) ? "CS… in launchd_crashed_panic()
922 ((proc_getcsflags(p) & CS_KILLED) ? "CS_KILLED" : ""), in launchd_crashed_panic()
1247 (hassigprop(WTERMSIG(rv), SA_CORE) || ((proc_getcsflags(p) & CS_KILLED) != 0) || in proc_prepareexit()
H A Dkern_fork.c1095 proc_ro_data.p_csflags = ((uint32_t)proc_getcsflags(parent_proc) & ~CS_KILLED); in forkproc()
H A Dkern_sig.c2147 ((proc_getcsflags(p) & CS_KILLED) ? "(CS_KILLED)" : "")); in psignal_internal()
2152 ((proc_getcsflags(p) & CS_KILLED) ? "(CS_KILLED)" : ""), in psignal_internal()
H A Dproc_info.c3609 if ((proc_getcsflags(p) & CS_KILLED) != 0) { in proc_pidnoteexit()
H A Dkern_descrip.c3853 if ((proc_getcsflags(p) & CS_KILL) == 0) { in sys_fcntl_nocancel()
H A Dkern_event.c1205 if ((proc_getcsflags(kn->kn_proc) & in filt_procevent()
/xnu-8019.80.24/bsd/sys/
H A Dproc_internal.h876 extern uint64_t proc_getcsflags(proc_t);
/xnu-8019.80.24/bsd/dev/dtrace/
H A Dfasttrap.c573 if ((proc_getcsflags(p) & (CS_KILL|CS_HARD))) { in fasttrap_setdebug()
/xnu-8019.80.24/bsd/netinet/
H A Dflow_divert.c975 if (proc_getcsflags(proc) & (CS_VALID | CS_DEBUGGED)) { in flow_divert_add_proc_info()