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

/freebsd-9.3-release/sys/rpc/
H A Dsvc_auth_unix.c70 struct xucred *xcr; local
75 xcr = rqst->rq_clntcred;
89 xcr->cr_uid = IXDR_GET_UINT32(buf);
90 xcr->cr_groups[0] = IXDR_GET_UINT32(buf);
98 xcr->cr_groups[i + 1] = IXDR_GET_INT32(buf);
103 xcr->cr_ngroups = XU_NGROUPS;
105 xcr->cr_ngroups = gid_len + 1;
117 } else if (! xdr_authunix_parms(&xdrs, &time, xcr)) {
H A Dsvc_auth.c169 struct xucred *xcr; local
177 xcr = (struct xucred *) rqst->rq_clntcred;
179 cr->cr_uid = cr->cr_ruid = cr->cr_svuid = xcr->cr_uid;
180 crsetgroups(cr, xcr->cr_ngroups, xcr->cr_groups);
H A Dauth_unix.c130 struct xucred xcr; local
157 cru2x(cred, &xcr);
161 if (!memcmp(&xcr, &au->au_xcred, sizeof(xcr))) {
190 au->au_xcred = xcr;
202 cru2x(cred, &xcr);
203 if (! xdr_authunix_parms(&xdrs, &time, &xcr))
218 if (!memcmp(&xcr, &tau->au_xcred, sizeof(xcr))) {
301 struct xucred xcr; local
[all...]
/freebsd-9.3-release/sys/sys/
H A Ducred.h113 void cru2x(struct ucred *cr, struct xucred *xcr);
/freebsd-9.3-release/sys/kern/
H A Dkern_prot.c1919 cru2x(struct ucred *cr, struct xucred *xcr) argument
1923 bzero(xcr, sizeof(*xcr));
1924 xcr->cr_version = XUCRED_VERSION;
1925 xcr->cr_uid = cr->cr_uid;
1928 xcr->cr_ngroups = ngroups;
1929 bcopy(cr->cr_groups, xcr->cr_groups,

Completed in 105 milliseconds