Home
last modified time | relevance | path

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

/xnu-11215/bsd/kern/
H A Dkern_cs.c220 flags = proc_getcsflags(p) & ~(CS_KILL | CS_HARD); in cs_allow_invalid()
264 flags = proc_getcsflags(p); in cs_invalid_page()
391 if (p != NULL && (proc_getcsflags(p) & CS_VALID)) { in cs_valid()
589 if ((proc_getcsflags(p) & CS_SIGNED) == 0) { in csproc_get_blob()
979 return (proc_getcsflags(p) & CS_DEV_CODE) == 0; in csproc_get_prod_signed()
1682 return proc_getcsflags(p) & CS_ENTITLEMENT_FLAGS; in cs_entitlement_flags()
1694 return (proc_getcsflags(p) & CS_RUNTIME) ? 1 : 0; in csproc_hardened_runtime()
1795 if ((proc_getcsflags(p) & CS_SIGNED) == 0) { in cs_entitlements_blob_get()
1819 if ((proc_getcsflags(p) & CS_SIGNED) == 0) { in cs_entitlements_dictionary_copy()
1846 if ((proc_getcsflags(p) & CS_SIGNED) == 0) { in cs_identity_get()
[all …]
H A Dkern_proc.c1141 return proc_getcsflags(current_proc()); in proc_selfcsflags()
1149 *flags = proc_getcsflags(p); in proc_csflags()
1798 proc_getcsflags(proc_t p) in proc_getcsflags() function
1811 return proc_getcsflags(proc); in proc_getcsflags_kdp()
3312 retflags = (uint32_t)proc_getcsflags(pt); in csops_internal()
3345 (unsigned int)proc_getcsflags(pt)); in csops_internal()
3360 if ((proc_getcsflags(pt) & CS_VALID) == 0) { in csops_internal()
3373 if ((proc_getcsflags(pt) & CS_VALID) == 0) { in csops_internal()
3521 if (proc_getcsflags(pt) & CS_VALID) { in csops_internal()
3523 !(proc_getcsflags(pt) & CS_ENFORCEMENT)) { in csops_internal()
[all …]
H A Dkern_codesigning.c1033 if (proc_getcsflags(process) & CS_DEBUGGED) { in address_space_debugged()
1044 if ((proc_getcsflags(process) & CS_SIGNED) == 0) { in address_space_debugged()
H A Dkern_exec.c1456 if (proc_getcsflags(p) & CS_EXEC_SET_HARD) { in exec_mach_imgact()
1459 if (proc_getcsflags(p) & CS_EXEC_SET_KILL) { in exec_mach_imgact()
1462 if (proc_getcsflags(p) & CS_EXEC_SET_ENFORCEMENT) { in exec_mach_imgact()
1465 if (proc_getcsflags(p) & CS_EXEC_INHERIT_SIP) { in exec_mach_imgact()
1466 if (proc_getcsflags(p) & CS_INSTALLER) { in exec_mach_imgact()
1469 if (proc_getcsflags(p) & CS_DATAVAULT_CONTROLLER) { in exec_mach_imgact()
1472 if (proc_getcsflags(p) & CS_NVRAM_UNRESTRICTED) { in exec_mach_imgact()
7690 if (proc_getcsflags(p) & (CS_HARD | CS_KILL)) { in process_signature()
7694 if (proc_getcsflags(p) & CS_ENFORCEMENT) { in process_signature()
H A Dkern_exit.c555 csflags = (uint32_t)proc_getcsflags(p); in populate_corpse_crashinfo()
1863 … prefix_str, WTERMSIG(rv), WEXITSTATUS(rv), ((proc_getcsflags(p) & CS_KILLED) ? "CS_KILLED" : "")); in proc_handle_critical_exit()
1866 ((proc_getcsflags(p) & CS_KILLED) ? "CS_KILLED" : ""), in proc_handle_critical_exit()
1908 (hassigprop(WTERMSIG(rv), SA_CORE) || ((proc_getcsflags(p) & CS_KILLED) != 0) || in proc_prepareexit()
H A Dkern_fork.c1087 proc_ro_data.p_csflags = ((uint32_t)proc_getcsflags(parent_proc) & csflag_inherit_mask); in forkproc()
H A Dkern_sig.c2075 ((proc_getcsflags(p) & CS_KILLED) ? "(CS_KILLED)" : "")); in psignal_internal()
2080 ((proc_getcsflags(p) & CS_KILLED) ? "(CS_KILLED)" : ""), in psignal_internal()
H A Dkern_memorystatus.c5240 entry->csflags = proc_getcsflags(p); in memorystatus_update_jetsam_snapshot_entry_locked()
5447 entry->csflags = proc_getcsflags(p); in memorystatus_init_jetsam_snapshot_entry_locked()
H A Dproc_info.c3946 if ((proc_getcsflags(p) & CS_KILLED) != 0) { in proc_pidnoteexit()
H A Dkern_descrip.c3952 if ((proc_getcsflags(p) & CS_KILL) == 0) { in sys_fcntl_nocancel()
H A Dkern_event.c1272 if ((proc_getcsflags(kn->kn_proc) & in filt_procevent()
/xnu-11215/bsd/sys/
H A Dproc_internal.h949 extern uint64_t proc_getcsflags(proc_t);
/xnu-11215/bsd/dev/dtrace/
H A Dfasttrap.c573 if ((proc_getcsflags(p) & (CS_KILL|CS_HARD))) { in fasttrap_setdebug()
/xnu-11215/bsd/netinet/
H A Dflow_divert.c1035 if (proc_getcsflags(proc) & (CS_VALID | CS_DEBUGGED)) { in flow_divert_add_proc_info()