Searched refs:acred (Results 1 – 5 of 5) sorted by relevance
| /net/sunrpc/ |
| A D | auth.c | 527 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache() 546 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache() 580 struct auth_cred acred; in rpcauth_lookupcred() local 584 memset(&acred, 0, sizeof(acred)); in rpcauth_lookupcred() 585 acred.cred = cred; in rpcauth_lookupcred() 602 cred->cr_cred = get_cred(acred->cred); in rpcauth_init_cred() 610 struct auth_cred acred = { in rpcauth_bind_root_cred() local 618 put_cred(acred.cred); in rpcauth_bind_root_cred() 626 struct auth_cred acred = { in rpcauth_bind_machine_cred() local 631 if (!acred.principal) in rpcauth_bind_machine_cred() [all …]
|
| A D | auth_unix.c | 44 struct auth_cred *acred, int flags) in unx_lookup_cred() argument 56 rpcauth_init_cred(ret, acred, auth, &unix_credops); in unx_lookup_cred() 80 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match() argument 85 if (cred->cr_cred == acred->cred) in unx_match() 88 …if (!uid_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred… in unx_match() 91 if (acred->cred->group_info != NULL) in unx_match() 92 groups = acred->cred->group_info->ngroups; in unx_match() 101 if (!gid_eq(cred->cr_cred->group_info->gid[i], acred->cred->group_info->gid[i])) in unx_match()
|
| A D | auth_null.c | 37 nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in nul_lookup_cred() argument 54 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match() argument
|
| A D | auth_tls.c | 85 struct auth_cred *acred, int flags) in tls_lookup_cred() argument 94 static int tls_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in tls_match() argument
|
| /net/sunrpc/auth_gss/ |
| A D | auth_gss.c | 1248 struct auth_cred acred = { in gss_dup_cred() local 1254 rpcauth_init_cred(&new->gc_base, &acred, in gss_dup_cred() 1358 gss_hash_cred(struct auth_cred *acred, unsigned int hashbits) in gss_hash_cred() argument 1367 struct auth_cred *acred, int flags) in gss_lookup_cred() argument 1369 return rpcauth_lookup_credcache(auth, acred, flags, in gss_lookup_cred() 1383 rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops); in gss_create_cred() 1390 cred->gc_principal = acred->principal; in gss_create_cred() 1507 if (acred->principal != NULL) { in gss_match() 1514 ret = uid_eq(rc->cr_cred->fsuid, acred->cred->fsuid); in gss_match() 1609 struct auth_cred acred = { in gss_renew_cred() local [all …]
|
Completed in 23 milliseconds