Searched refs:cred (Results 1 – 7 of 7) sorted by relevance
/sunrpc/ |
A D | svcauth_des.c | 508 struct bsdcred *cred; in authdes_getucred() local 517 if (cred == NULL || cred->grouplen == INVALID) in authdes_getucred() 526 if (cred != NULL) in authdes_getucred() 531 if (cred != NULL && cred->grouplen_max < i_grouplen) in authdes_getucred() 535 free (cred); in authdes_getucred() 537 cred = NULL; in authdes_getucred() 540 if (cred == NULL) in authdes_getucred() 547 if (cred == NULL) in authdes_getucred() 576 *uid = cred->uid; in authdes_getucred() 577 *gid = cred->gid; in authdes_getucred() [all …]
|
A 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()
|
A 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()
|
A D | svc_unix.c | 380 struct ucred cred; in __msgwrite() 386 cred.pid = __getpid (); in __msgwrite() 387 cred.uid = __geteuid (); in __msgwrite() 388 cred.gid = __getegid (); in __msgwrite() 390 memcpy (CMSG_DATA(cmsg), &cred, sizeof (struct ucred)); in __msgwrite()
|
A 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()
|
A D | key_prot.c | 131 if (!xdr_unixcred (xdrs, &objp->getcredres_u.cred)) in libc_hidden_nolink_sunrpc()
|
/sunrpc/rpc/ |
A D | key_prot.h | 156 unixcred cred; member
|
Completed in 18 milliseconds