Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_credential.c182 int nsaved, ngroups; in nxt_credential_groups_get() local
186 nsaved = getgroups(0, NULL); in nxt_credential_groups_get()
188 if (nxt_slow_path(nsaved == -1)) { in nxt_credential_groups_get()
193 nxt_debug(task, "getgroups(0, NULL): %d", nsaved); in nxt_credential_groups_get()
195 if (nsaved > NGROUPS_MAX) { in nxt_credential_groups_get()
204 saved = nxt_mp_alloc(mp, nsaved * sizeof(nxt_gid_t)); in nxt_credential_groups_get()
212 nsaved = getgroups(nsaved, saved); in nxt_credential_groups_get()
214 if (nxt_slow_path(nsaved == -1)) { in nxt_credential_groups_get()
215 nxt_alert(task, "getgroups(%d) failed %E", nsaved, nxt_errno); in nxt_credential_groups_get()
219 nxt_debug(task, "getgroups(): %d", nsaved); in nxt_credential_groups_get()
[all …]