Searched refs:cred (Results 1 – 8 of 8) sorted by relevance
/glibc-2.36/sunrpc/ |
D | svcauth_des.c | 83 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 …]
|
D | authdes_prot.c | 44 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()
|
D | auth_des.c | 243 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()
|
D | svc_unix.c | 377 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()
|
D | clnt_unix.c | 491 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()
|
D | key_prot.c | 131 if (!xdr_unixcred (xdrs, &objp->getcredres_u.cred)) in libc_hidden_nolink_sunrpc()
|
/glibc-2.36/include/rpc/ |
D | auth_des.h | 11 extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
|
/glibc-2.36/sunrpc/rpc/ |
D | key_prot.h | 156 unixcred cred; member
|