Home
last modified time | relevance | path

Searched refs:mygroups (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/grp/
Dtst-initgroups1.c43 gid_t mygroups [50]; in do_test() local
47 getgrouplist ("dj", 20, mygroups, &n); in do_test()
51 TEST_COMPARE (mygroups[i], expected_groups[i]); in do_test()
/glibc-2.36/nss/nss_compat/
Dcompat-initgroups.c242 gid_t *mygroups = malloc (mysize * sizeof (gid_t)); in getgrent_next_nss() local
244 if (mygroups == NULL) in getgrent_next_nss()
254 if (initgroups_dyn_impl (user, group, &mystart, &mysize, &mygroups, in getgrent_next_nss()
263 add_group (start, size, groupsp, limit, mygroups[i]); in getgrent_next_nss()
274 while ((status = getgrgid_r_impl (mygroups[i], &grpbuf, in getgrent_next_nss()
330 free (mygroups); in getgrent_next_nss()
335 free (mygroups); in getgrent_next_nss()