Home
last modified time | relevance | path

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

/net/sunrpc/
Dauth_unix.c83 if (acred->cred->group_info != NULL) in unx_match()
84 groups = acred->cred->group_info->ngroups; 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()
Dsvcauth_unix.c409 struct group_info *gi;
640 static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) in unix_gid_find()
643 struct group_info *gi; in unix_gid_find()
672 struct group_info *gi; in svcauth_unix_set_client()
/net/netfilter/
Dxt_owner.c102 struct group_info *gi = filp->f_cred->group_info; in owner_mt()
/net/ipv4/
Dping.c263 struct group_info *group_info; in ping_init_sock() local
275 group_info = get_current_groups(); in ping_init_sock()
276 for (i = 0; i < group_info->ngroups; i++) { in ping_init_sock()
277 kgid_t gid = group_info->gid[i]; in ping_init_sock()
286 put_group_info(group_info); in ping_init_sock()
/net/core/
Dsock.c1412 static int groups_to_user(gid_t __user *dst, const struct group_info *src) in groups_to_user()
1600 n = cred->group_info->ngroups; in sock_getsockopt()
1608 ret = groups_to_user((gid_t __user *)optval, cred->group_info); in sock_getsockopt()