Searched refs:groups (Results 1 – 3 of 3) sorted by relevance
/grp/ |
A D | compat-initgroups.c | 21 gid_t *groups = *groupsp; 69 if (groups[cnt] == grpbuf.gr_gid) 91 newgroups = realloc (groups, 92 newsize * sizeof (*groups)); 95 *groupsp = groups = newgroups; 99 groups[*start] = grpbuf.gr_gid;
|
A D | initgroups.c | 143 getgrouplist (const char *user, gid_t group, gid_t *groups, int *ngroups) in getgrouplist() argument 158 memcpy (groups, newgroups, MIN (*ngroups, total) * sizeof (gid_t)); in getgrouplist() 184 gid_t *groups; in nss_interface_function() 200 groups = (gid_t *) malloc (size * sizeof (gid_t)); in nss_interface_function() 201 if (__glibc_unlikely (groups == NULL)) in nss_interface_function() 205 ngroups = internal_getgrouplist (user, group, &size, &groups, limit); in nss_interface_function() 209 result = setgroups (ngroups, groups); in nss_interface_function() 212 free (groups); in nss_interface_function()
|
A D | setgroups.c | 24 setgroups (size_t n, const gid_t *groups) in setgroups() argument
|
Completed in 6 milliseconds