Home
last modified time | relevance | path

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

/glibc-2.36/grp/
Dinitgroups.c147 gid_t *newgroups = (gid_t *) malloc (size * sizeof (gid_t)); in getgrouplist() local
148 if (__glibc_unlikely (newgroups == NULL)) in getgrouplist()
156 int total = internal_getgrouplist (user, group, &size, &newgroups, -1); in getgrouplist()
158 memcpy (groups, newgroups, MIN (*ngroups, total) * sizeof (gid_t)); in getgrouplist()
160 free (newgroups); in getgrouplist()
Dcompat-initgroups.c79 gid_t *newgroups; in compat_call() local
91 newgroups = realloc (groups, in compat_call()
93 if (newgroups == NULL) in compat_call()
95 *groupsp = groups = newgroups; in compat_call()
/glibc-2.36/hesiod/nss_hesiod/
Dhesiod-grp.c230 gid_t *newgroups; in _nss_hesiod_initgroups_dyn() local
242 newgroups = realloc (groups, newsize * sizeof (*groups)); in _nss_hesiod_initgroups_dyn()
243 if (newgroups == NULL) in _nss_hesiod_initgroups_dyn()
245 *groupsp = groups = newgroups; in _nss_hesiod_initgroups_dyn()
/glibc-2.36/nss/nss_files/
Dfiles-initgroups.c101 gid_t *newgroups = realloc (groups, in _nss_files_initgroups_dyn() local
103 if (newgroups == NULL) in _nss_files_initgroups_dyn()
109 *groupsp = groups = newgroups; in _nss_files_initgroups_dyn()
/glibc-2.36/nss/nss_db/
Ddb-initgroups.c110 gid_t *newgroups = realloc (groups, in _nss_db_initgroups_dyn() local
112 if (newgroups == NULL) in _nss_db_initgroups_dyn()
119 *groupsp = groups = newgroups; in _nss_db_initgroups_dyn()
/glibc-2.36/nss/nss_compat/
Dcompat-initgroups.c178 gid_t *newgroups; in add_group() local
190 newgroups = realloc (groups, newsize * sizeof (*groups)); in add_group()
191 if (newgroups == NULL) in add_group()
193 *groupsp = groups = newgroups; in add_group()