Lines Matching refs:acred
54 unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags)
56 return rpcauth_lookup_credcache(auth, acred, flags);
60 unx_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags)
67 acred->uid, acred->gid);
72 rpcauth_init_cred(&cred->uc_base, acred, auth, &unix_credops);
75 if (acred->group_info != NULL)
76 groups = acred->group_info->ngroups;
80 cred->uc_gid = acred->gid;
82 cred->uc_gids[i] = GROUP_AT(acred->group_info, i);
115 unx_match(struct auth_cred *acred, struct rpc_cred *rcred, int flags)
122 if (cred->uc_uid != acred->uid || cred->uc_gid != acred->gid)
125 if (acred->group_info != NULL)
126 groups = acred->group_info->ngroups;
130 if (cred->uc_gids[i] != GROUP_AT(acred->group_info, i))