Lines Matching refs:group
175 static struct group *nss_getgrent(void)
177 NSS_STATUS (*_nss_getgrent_r)(struct group *, char *,
179 (NSS_STATUS (*)(struct group *, char *,
181 static struct group grp;
214 static struct group *nss_getgrnam(const char *name)
216 NSS_STATUS (*_nss_getgrnam_r)(const char *, struct group *, char *,
218 (NSS_STATUS (*)(const char *, struct group *, char *,
220 static struct group grp;
252 static struct group *nss_getgrgid(gid_t gid)
254 NSS_STATUS (*_nss_getgrgid_r)(gid_t , struct group *, char *,
256 (NSS_STATUS (*)(gid_t, struct group *, char *,
258 static struct group grp;
321 static int nss_initgroups(char *user, gid_t group, gid_t **groups, long int *start, long int *size)
333 status = _nss_initgroups(user, group, start, size, groups, 0, &nss_errno);
352 static void print_group(struct group *grp)
426 struct group *grp;
431 printf("Testing group %s\n", grp->gr_name);
455 struct group *grp;
472 printf("ERROR Non existant group gave error %d\n", last_error);