Searched refs:newgroups (Results 1 – 6 of 6) sorted by relevance
/glibc-2.36/grp/ |
D | initgroups.c | 147 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()
|
D | compat-initgroups.c | 79 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/ |
D | hesiod-grp.c | 230 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/ |
D | files-initgroups.c | 101 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/ |
D | db-initgroups.c | 110 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/ |
D | compat-initgroups.c | 178 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()
|