Searched defs:acred (Results 1 - 5 of 5) sorted by relevance

/net/sunrpc/
H A Dauth_null.c36 nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
55 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) argument
H A Dauth_generic.c26 struct auth_cred acred; member in struct:generic_cred
52 struct auth_cred acred = { local
61 return generic_auth.au_ops->lookup_cred(&generic_auth, &acred, 0);
69 struct auth_cred *acred = &container_of(cred, struct generic_cred, gc_base)->acred; local
71 return auth->au_ops->lookup_cred(auth, acred, lookupflags);
78 generic_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
80 return rpcauth_lookup_credcache(&generic_auth, acred, flags);
84 generic_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
92 rpcauth_init_cred(&gcred->gc_base, acred,
137 machine_cred_match(struct auth_cred *acred, struct generic_cred *gcred, int flags) argument
151 generic_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) argument
213 struct auth_cred *acred = &container_of(cred, struct generic_cred, local
273 struct auth_cred *acred = &container_of(cred, struct generic_cred, local
[all...]
H A Dauth_unix.c55 unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
57 return rpcauth_lookup_credcache(auth, acred, flags);
61 unx_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
68 from_kuid(&init_user_ns, acred->uid),
69 from_kgid(&init_user_ns, acred->gid));
74 rpcauth_init_cred(&cred->uc_base, acred, auth, &unix_credops);
77 if (acred->group_info != NULL)
78 groups = acred->group_info->ngroups;
82 cred->uc_gid = acred->gid;
84 cred->uc_gids[i] = GROUP_AT(acred
117 unx_match(struct auth_cred *acred, struct rpc_cred *rcred, int flags) argument
[all...]
H A Dauth.c545 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, argument
554 nr = hash_long(from_kuid(&init_user_ns, acred->uid), cache->hashbits);
558 if (!entry->cr_ops->crmatch(acred, entry, flags))
583 new = auth->au_ops->crcreate(auth, acred, flags);
591 if (!entry->cr_ops->crmatch(acred, entry, flags))
623 struct auth_cred acred; local
630 memset(&acred, 0, sizeof(acred));
631 acred.uid = cred->fsuid;
632 acred
640 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred, struct rpc_auth *auth, const struct rpc_credops *ops) argument
669 struct auth_cred acred = { local
[all...]
/net/sunrpc/auth_gss/
H A Dauth_gss.c1300 gss_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
1302 return rpcauth_lookup_credcache(auth, acred, flags);
1306 gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
1313 __func__, from_kuid(&init_user_ns, acred->uid),
1319 rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops);
1327 if (acred->machine_cred)
1328 cred->gc_principal = acred->principal;
1428 gss_match(struct auth_cred *acred, struct rpc_cred *rc, int flags) argument
1447 if (acred->principal != NULL) {
1450 ret = strcmp(acred
1539 struct auth_cred acred = { local
[all...]

Completed in 59 milliseconds