Home
last modified time | relevance | path

Searched refs:CS_VALID (Results 1 – 8 of 8) sorted by relevance

/xnu-12377.81.4/bsd/kern/
H A Dkern_cs.c221 if (flags & CS_VALID) { in cs_allow_invalid()
287 if (flags & CS_VALID) { in cs_invalid_page()
288 flags &= ~CS_VALID; in cs_invalid_page()
391 if (p != NULL && (proc_getcsflags(p) & CS_VALID)) { in cs_valid()
506 unsigned int updated_flags = current_flags & (~CS_VALID); in csblob_invalidate_flags()
1043 if ((proc_getcsflags(pt) & (CS_VALID | CS_DEBUGGED)) == 0) { in csproc_get_validation_category()
H A Dubc_subr.c741 if ((csblob->csb_flags & CS_VALID) == 0) { in csblob_find_blob()
834 if ((csblob->csb_flags & CS_VALID) == 0) { in csblob_get_entitlements()
871 if ((csblob->csb_flags & CS_VALID) == 0) { in csblob_get_der_entitlements_unsafe()
896 if ((csblob->csb_flags & CS_VALID) == 0) { in csblob_get_der_entitlements()
4102 blob->csb_flags = (ntohl(cd->flags) & CS_ALLOWED_MACHO) | CS_VALID; in cs_blob_init_validated()
5243 found_but_not_valid = ((orig_blob->csb_flags & CS_VALID) != CS_VALID); in ubc_cs_blob_add_supplement()
5635 if ((blob->csb_flags & CS_VALID) == 0) { in ubc_cs_blob_revalidate()
5654 unsigned int cs_flags = (ntohl(cd->flags) & CS_ALLOWED_MACHO) | CS_VALID; in ubc_cs_blob_revalidate()
H A Dkern_proc.c3770 if ((proc_getcsflags(pt) & CS_VALID) == CS_VALID) { /* is currently valid */ in csops_internal()
3771 proc_csflags_clear(pt, CS_VALID); /* set invalid */ in csops_internal()
3795 if ((proc_getcsflags(pt) & CS_VALID) == 0) { in csops_internal()
3808 if ((proc_getcsflags(pt) & CS_VALID) == 0) { in csops_internal()
3868 if ((proc_getcsflags(pt) & (CS_VALID | CS_DEBUGGED)) == 0) { in csops_internal()
3903 if ((proc_getcsflags(pt) & (CS_VALID | CS_DEBUGGED)) == 0) { in csops_internal()
3976 if (proc_getcsflags(pt) & CS_VALID) { in csops_internal()
4037 if ((proc_getcsflags(pt) & (CS_VALID | CS_DEBUGGED)) == 0) { in csops_internal()
4071 if ((proc_getcsflags(pt) & (CS_VALID | CS_DEBUGGED)) == 0) { in csops_internal()
H A Dbsd_init.c490 .p_csflags = CS_VALID, in bsd_init()
H A Dkern_exec.c2008 if (load_result.csflags & CS_VALID) { in exec_mach_imgact()
2010 (CS_VALID | CS_SIGNED | CS_DEV_CODE | CS_LINKER_SIGNED | in exec_mach_imgact()
2016 imgp->ip_csflags &= ~CS_VALID; in exec_mach_imgact()
8611 proc_csflags_set(p, CS_SIGNED | CS_VALID); in process_signature()
H A Dmach_loader.c1633 result->csflags &= ~CS_VALID; in parse_machfile()
3584 ((blob->csb_flags & CS_VALID) == 0)) { in load_code_signature()
/xnu-12377.81.4/osfmk/kern/
H A Dcs_blobs.h36 #define CS_VALID 0x00000001 /* dynamically valid */ macro
/xnu-12377.81.4/bsd/netinet/
H A Dflow_divert.c1046 if (proc_getcsflags(proc) & (CS_VALID | CS_DEBUGGED)) { in flow_divert_add_proc_info()