Lines Matching refs:el_flags
796 if (workp->kr_work.el_flags & (KAUTH_EXTLOOKUP_VALID_PWNAM | KAUTH_EXTLOOKUP_VALID_GRNAM)) { in kauth_resolver_getwork2()
977 …want_extend_data = (workp->kr_work.el_flags & (KAUTH_EXTLOOKUP_WANT_PWNAM | KAUTH_EXTLOOKUP_WANT_G… in kauth_resolver_complete()
1020 …if (want_extend_data && (extl.el_flags & (KAUTH_EXTLOOKUP_VALID_PWNAM | KAUTH_EXTLOOKUP_VALID_GRNA… in kauth_resolver_complete()
1028 } else if (extl.el_flags & (KAUTH_EXTLOOKUP_VALID_PWNAM | KAUTH_EXTLOOKUP_VALID_GRNAM)) { in kauth_resolver_complete()
1031 extl.el_flags, want_extend_data); in kauth_resolver_complete()
1277 if (elp->el_flags & (KAUTH_EXTLOOKUP_VALID_PWNAM | KAUTH_EXTLOOKUP_VALID_GRNAM)) { in kauth_identity_updatecache()
1283 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_UID) { in kauth_identity_updatecache()
1288 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_SUPGRPS) { in kauth_identity_updatecache()
1300 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_UGUID) { in kauth_identity_updatecache()
1305 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_USID) { in kauth_identity_updatecache()
1310 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_PWNAM) { in kauth_identity_updatecache()
1335 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_UGUID) ? &elp->el_uguid : NULL, in kauth_identity_updatecache()
1337 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_USID) ? &elp->el_usid : NULL, in kauth_identity_updatecache()
1339 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_SUPGRPS) ? elp->el_sup_grp_cnt : 0, in kauth_identity_updatecache()
1340 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_SUPGRPS) ? elp->el_sup_groups : NULL, in kauth_identity_updatecache()
1342 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_PWNAM) ? speculative_name : NULL, in kauth_identity_updatecache()
1348 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_PWNAM) { in kauth_identity_updatecache()
1358 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GID && !(elp->el_flags & KAUTH_EXTLOOKUP_VALID_UID)) { in kauth_identity_updatecache()
1363 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GGUID) { in kauth_identity_updatecache()
1368 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GSID) { in kauth_identity_updatecache()
1373 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GRNAM) { in kauth_identity_updatecache()
1398 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GGUID) ? &elp->el_gguid : NULL, in kauth_identity_updatecache()
1400 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GSID) ? &elp->el_gsid : NULL, in kauth_identity_updatecache()
1402 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_SUPGRPS) ? elp->el_sup_grp_cnt : 0, in kauth_identity_updatecache()
1403 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_SUPGRPS) ? elp->el_sup_groups : NULL, in kauth_identity_updatecache()
1405 (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GRNAM) ? speculative_name : NULL, in kauth_identity_updatecache()
1411 if (elp->el_flags & KAUTH_EXTLOOKUP_VALID_GRNAM) { in kauth_identity_updatecache()
2707 el.el_flags = KAUTH_EXTLOOKUP_VALID_UID; in kauth_cred_cache_lookup()
2711 el.el_flags = KAUTH_EXTLOOKUP_VALID_GID; in kauth_cred_cache_lookup()
2715 el.el_flags = KAUTH_EXTLOOKUP_VALID_UGUID | KAUTH_EXTLOOKUP_VALID_GGUID; in kauth_cred_cache_lookup()
2720 el.el_flags = KAUTH_EXTLOOKUP_VALID_USID | KAUTH_EXTLOOKUP_VALID_GSID; in kauth_cred_cache_lookup()
2726 el.el_flags = KAUTH_EXTLOOKUP_VALID_PWNAM; in kauth_cred_cache_lookup()
2731 el.el_flags = KAUTH_EXTLOOKUP_VALID_GRNAM; in kauth_cred_cache_lookup()
2746 el.el_flags |= KAUTH_EXTLOOKUP_WANT_UID | KAUTH_EXTLOOKUP_WANT_GID | in kauth_cred_cache_lookup()
2751 el.el_flags |= KAUTH_EXTLOOKUP_WANT_PWNAM; in kauth_cred_cache_lookup()
2756 el.el_flags |= KAUTH_EXTLOOKUP_WANT_GRNAM; in kauth_cred_cache_lookup()
2761 el.el_flags |= KAUTH_EXTLOOKUP_WANT_SUPGRPS; in kauth_cred_cache_lookup()
2780 el.el_flags |= KAUTH_EXTLOOKUP_VALID_SUPGRPS; in kauth_cred_cache_lookup()
2788 KAUTH_DEBUG("CACHE - calling resolver for %x", el.el_flags); in kauth_cred_cache_lookup()
2808 el.el_flags |= KAUTH_EXTLOOKUP_VALID_PWNAM; in kauth_cred_cache_lookup()
2810 el.el_flags |= KAUTH_EXTLOOKUP_VALID_GRNAM; in kauth_cred_cache_lookup()
2950 if ((el->el_flags & in kauth_groups_updatecache()
2966 if (el->el_flags & KAUTH_EXTLOOKUP_ISMEMBER) { in kauth_groups_updatecache()
2987 if (el->el_flags & KAUTH_EXTLOOKUP_ISMEMBER) { in kauth_groups_updatecache()
3144 …el.el_flags = KAUTH_EXTLOOKUP_VALID_UID | KAUTH_EXTLOOKUP_VALID_GID | KAUTH_EXTLOOKUP_WANT_MEMBERS… in kauth_cred_ismember_gid()
3153 DTRACE_PROC2(kauth__group__resolver__returned, int, error, int, el.el_flags); in kauth_cred_ismember_gid()
3162 if (el.el_flags & KAUTH_EXTLOOKUP_VALID_MEMBERSHIP) { in kauth_cred_ismember_gid()
3163 *resultp = (el.el_flags & KAUTH_EXTLOOKUP_ISMEMBER) ? 1 : 0; in kauth_cred_ismember_gid()