Home
last modified time | relevance | path

Searched refs:cr_cred (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/sunrpc/
H A Dauth_unix.c58 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
77 if (cred->cr_cred == acred->cred) in unx_match()
80 if (!uid_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred->fsgid)) in unx_match()
87 if (cred->cr_cred->group_info == NULL) in unx_match()
89 if (groups != cred->cr_cred->group_info->ngroups) in unx_match()
93 if (!gid_eq(cred->cr_cred->group_info->gid[i], acred->cred->group_info->gid[i])) in unx_match()
109 struct group_info *gi = cred->cr_cred->group_info; in unx_marshal()
127 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal()
128 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred in unx_marshal()
[all...]
H A Dauth.c605 cred->cr_cred = get_cred(acred->cred); in rpcauth_init_cred()
/kernel/linux/linux-6.6/net/sunrpc/
H A Dauth_unix.c66 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
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->fsgid)) in unx_match()
95 if (cred->cr_cred->group_info == NULL) in unx_match()
97 if (groups != cred->cr_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()
117 struct group_info *gi = cred->cr_cred->group_info; in unx_marshal()
135 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal()
136 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred in unx_marshal()
[all...]
H A Dauth.c602 cred->cr_cred = get_cred(acred->cred); in rpcauth_init_cred()
/kernel/linux/linux-5.10/include/linux/sunrpc/
H A Dauth.h57 const struct cred *cr_cred; member
/kernel/linux/linux-6.6/include/linux/sunrpc/
H A Dauth.h57 const struct cred *cr_cred; member
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dauth_gss.c550 kuid_t uid = cred->cr_cred->fsuid; in gss_setup_upcall()
619 cred->cr_cred->fsuid), err); in gss_refresh_upcall()
684 cred->cr_cred->fsuid), err); in gss_create_upcall()
1239 .cred = gss_cred->gc_base.cr_cred, in gss_dup_cred()
1332 put_cred(cred->cr_cred); in gss_destroy_nullcred()
1503 ret = uid_eq(rc->cr_cred->fsuid, acred->cred->fsuid); in gss_match()
1597 .cred = oldcred->cr_cred, in gss_renew_cred()
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
H A Dauth_gss.c567 kuid_t uid = cred->cr_cred->fsuid; in gss_setup_upcall()
636 cred->cr_cred->fsuid), err); in gss_refresh_upcall()
701 cred->cr_cred->fsuid), err); in gss_create_upcall()
1258 .cred = gss_cred->gc_base.cr_cred, in gss_dup_cred()
1351 put_cred(cred->cr_cred); in gss_destroy_nullcred()
1523 ret = uid_eq(rc->cr_cred->fsuid, acred->cred->fsuid); in gss_match()
1617 .cred = oldcred->cr_cred, in gss_renew_cred()

Completed in 10 milliseconds