Home
last modified time | relevance | path

Searched refs:group_info (Results 1 – 6 of 6) sorted by relevance

/net/sunrpc/
Dauth_generic.c112 gcred->acred.group_info = acred->group_info; in generic_create_cred()
114 if (gcred->acred.group_info != NULL) in generic_create_cred()
115 get_group_info(gcred->acred.group_info); in generic_create_cred()
133 if (gcred->acred.group_info != NULL) in generic_free_cred()
134 put_group_info(gcred->acred.group_info); in generic_free_cred()
180 if (gcred->acred.group_info == acred->group_info) in generic_match()
184 if (gcred->acred.group_info->ngroups != acred->group_info->ngroups) in generic_match()
186 for (i = 0; i < gcred->acred.group_info->ngroups; i++) { in generic_match()
187 if (!gid_eq(gcred->acred.group_info->gid[i], in generic_match()
188 acred->group_info->gid[i])) in generic_match()
Dauth_unix.c82 if (acred->group_info != NULL) in unx_create_cred()
83 groups = acred->group_info->ngroups; in unx_create_cred()
89 cred->uc_gids[i] = acred->group_info->gid[i]; in unx_create_cred()
132 if (acred->group_info != NULL) in unx_match()
133 groups = acred->group_info->ngroups; in unx_match()
137 if (!gid_eq(cred->uc_gids[i], acred->group_info->gid[i])) in unx_match()
Dsvcauth_unix.c414 struct group_info *gi;
629 static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) in unix_gid_find()
632 struct group_info *gi; in unix_gid_find()
661 struct group_info *gi; in svcauth_unix_set_client()
Dauth.c636 acred.group_info = cred->group_info; in rpcauth_lookupcred()
/net/ipv4/
Dping.c261 struct group_info *group_info; in ping_init_sock() local
273 group_info = get_current_groups(); in ping_init_sock()
274 for (i = 0; i < group_info->ngroups; i++) { in ping_init_sock()
275 kgid_t gid = group_info->gid[i]; in ping_init_sock()
284 put_group_info(group_info); in ping_init_sock()
/net/core/
Dsock.c1086 static int groups_to_user(gid_t __user *dst, const struct group_info *src) in groups_to_user()
1258 n = sk->sk_peer_cred->group_info->ngroups; in sock_getsockopt()
1266 sk->sk_peer_cred->group_info); in sock_getsockopt()