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

/freebsd-10.0-release/sys/rpc/
H A Dsvc_auth_unix.c71 struct xucred *xcr; local
76 xcr = rqst->rq_clntcred;
90 xcr->cr_uid = IXDR_GET_UINT32(buf);
91 xcr->cr_groups[0] = IXDR_GET_UINT32(buf);
99 xcr->cr_groups[i + 1] = IXDR_GET_INT32(buf);
104 xcr->cr_ngroups = XU_NGROUPS;
106 xcr->cr_ngroups = gid_len + 1;
118 } else if (! xdr_authunix_parms(&xdrs, &time, xcr)) {
H A Dsvc_auth.c170 struct xucred *xcr; local
178 xcr = (struct xucred *) rqst->rq_clntcred;
180 cr->cr_uid = cr->cr_ruid = cr->cr_svuid = xcr->cr_uid;
181 crsetgroups(cr, xcr->cr_ngroups, xcr->cr_groups);
H A Dauth_unix.c131 struct xucred xcr; local
158 cru2x(cred, &xcr);
162 if (!memcmp(&xcr, &au->au_xcred, sizeof(xcr))) {
191 au->au_xcred = xcr;
203 cru2x(cred, &xcr);
204 if (! xdr_authunix_parms(&xdrs, &time, &xcr))
219 if (!memcmp(&xcr, &tau->au_xcred, sizeof(xcr))) {
302 struct xucred xcr; local
[all...]
/freebsd-10.0-release/sys/sys/
H A Ducred.h112 void cru2x(struct ucred *cr, struct xucred *xcr);
/freebsd-10.0-release/sys/kern/
H A Dkern_prot.c1920 cru2x(struct ucred *cr, struct xucred *xcr) argument
1924 bzero(xcr, sizeof(*xcr));
1925 xcr->cr_version = XUCRED_VERSION;
1926 xcr->cr_uid = cr->cr_uid;
1929 xcr->cr_ngroups = ngroups;
1930 bcopy(cr->cr_groups, xcr->cr_groups,

Completed in 77 milliseconds