Searched refs:xcr (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Ducred.h152 void cru2x(kauth_cred_t cr, struct xucred *xcr);
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_prot.c2027 cru2x(kauth_cred_t cr, struct xucred *xcr) argument
2031 bzero(xcr, sizeof(*xcr));
2032 xcr->cr_version = XUCRED_VERSION;
2033 xcr->cr_uid = kauth_cred_getuid(cr);
2034 xcr->cr_ngroups = pcr->cr_ngroups;
2035 bcopy(pcr->cr_groups, xcr->cr_groups, sizeof(xcr->cr_groups));

Completed in 120 milliseconds