Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
H A Dnxt_clone.c322 if (creds->ngroups > 0 in nxt_clone_vldt_credential_gidmap()
323 && !(creds->ngroups == 1 && creds->gids[0] == creds->base_gid)) { in nxt_clone_vldt_credential_gidmap()
327 creds->user, creds->ngroups, in nxt_clone_vldt_credential_gidmap()
328 creds->ngroups > 1 ? "s" : ""); in nxt_clone_vldt_credential_gidmap()
375 if (creds->ngroups > 0 in nxt_clone_vldt_credential_gidmap()
376 && !(creds->ngroups == 1 && creds->gids[0] == creds->base_gid)) in nxt_clone_vldt_credential_gidmap()
380 creds->user, creds->ngroups, in nxt_clone_vldt_credential_gidmap()
381 creds->ngroups > 1 ? "s" : ""); in nxt_clone_vldt_credential_gidmap()
392 for (i = 0; i < creds->ngroups; i++) { in nxt_clone_vldt_credential_gidmap()
437 if (nxt_slow_path(gids_ok < creds->ngroups)) { in nxt_clone_vldt_credential_gidmap()
[all …]
H A Dnxt_credential.h17 nxt_uint_t ngroups; member