Home
last modified time | relevance | path

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

/glibc-2.36/sunrpc/
Dsvcauth_des.c83 static void invalidate (char *cred); /* invalidate entry in cache */
109 register struct authdes_cred *cred; in _svcauth_des() local
132 cred = (struct authdes_cred *) &area->area_cred; in _svcauth_des()
142 cred->adc_namekind = IXDR_GET_ENUM (ixdr, enum authdes_namekind); in _svcauth_des()
143 switch (cred->adc_namekind) in _svcauth_des()
151 cred->adc_fullname.name = area->area_netname; in _svcauth_des()
152 memcpy (cred->adc_fullname.name, (char *) ixdr, namelen); in _svcauth_des()
153 cred->adc_fullname.name[namelen] = 0; in _svcauth_des()
155 cred->adc_fullname.key.key.high = *ixdr++; in _svcauth_des()
156 cred->adc_fullname.key.key.low = *ixdr++; in _svcauth_des()
[all …]
Dauthdes_prot.c44 xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred) in xdr_authdes_cred() argument
49 ATTEMPT (xdr_enum (xdrs, (enum_t *) & cred->adc_namekind)); in xdr_authdes_cred()
50 switch (cred->adc_namekind) in xdr_authdes_cred()
53 ATTEMPT (xdr_string (xdrs, &cred->adc_fullname.name, MAXNETNAMELEN)); in xdr_authdes_cred()
54 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & cred->adc_fullname.key, in xdr_authdes_cred()
56 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & cred->adc_fullname.window, in xdr_authdes_cred()
57 sizeof (cred->adc_fullname.window))); in xdr_authdes_cred()
60 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & cred->adc_nickname, in xdr_authdes_cred()
61 sizeof (cred->adc_nickname))); in xdr_authdes_cred()
Dauth_des.c243 struct authdes_cred *cred = &ad->ad_cred; in authdes_marshal() local
321 ATTEMPT (xdr_authdes_cred (xdrs, cred)); in authdes_marshal()
404 struct authdes_cred *cred = &ad->ad_cred; in authdes_refresh() local
422 cred->adc_fullname.key = ad->ad_xkey; in authdes_refresh()
423 cred->adc_namekind = ADN_FULLNAME; in authdes_refresh()
424 cred->adc_fullname.name = ad->ad_fullname; in authdes_refresh()
Dsvc_unix.c377 struct ucred cred; in __msgwrite()
383 cred.pid = __getpid (); in __msgwrite()
384 cred.uid = __geteuid (); in __msgwrite()
385 cred.gid = __getegid (); in __msgwrite()
387 memcpy (CMSG_DATA(cmsg), &cred, sizeof (struct ucred)); in __msgwrite()
Dclnt_unix.c491 struct ucred cred; in __msgwrite()
497 cred.pid = __getpid (); in __msgwrite()
498 cred.uid = __geteuid (); in __msgwrite()
499 cred.gid = __getegid (); in __msgwrite()
501 memcpy (CMSG_DATA(cmsg), &cred, sizeof (struct ucred)); in __msgwrite()
Dkey_prot.c131 if (!xdr_unixcred (xdrs, &objp->getcredres_u.cred)) in libc_hidden_nolink_sunrpc()
/glibc-2.36/include/rpc/
Dauth_des.h11 extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
/glibc-2.36/sunrpc/rpc/
Dkey_prot.h156 unixcred cred; member