Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_clone.c296 if (creds->uid >= (nxt_uid_t) m.container in nxt_clone_vldt_credential_uidmap()
304 "entry for user \"%s\" (uid %d)", creds->user, creds->uid); in nxt_clone_vldt_credential_uidmap()
322 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()
366 creds->base_gid); 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()
392 for (i = 0; i < creds->ngroups; i++) { in nxt_clone_vldt_credential_gidmap()
[all …]
H A Dnxt_clone.h46 nxt_credential_t *creds, nxt_clone_t *clone);
48 nxt_clone_credential_map_t *map, nxt_credential_t *creds);
50 nxt_clone_credential_map_t *map, nxt_credential_t *creds);
H A Dnxt_socket_msg.h197 nxt_socket_cred_t *creds; in nxt_socket_msg_oob_get() local
203 creds = (nxt_socket_cred_t *) CMSG_DATA(cmsg); in nxt_socket_msg_oob_get()
204 *pid = NXT_CRED_GETPID(creds); in nxt_socket_msg_oob_get()
H A Dnxt_isolation.c324 nxt_credential_t *creds; in nxt_isolation_vldt_creds() local
327 creds = process->user_cred; in nxt_isolation_vldt_creds()
351 ret = nxt_clone_vldt_credential_uidmap(task, &clone->uidmap, creds); in nxt_isolation_vldt_creds()
356 return nxt_clone_vldt_credential_gidmap(task, &clone->gidmap, creds); in nxt_isolation_vldt_creds()
/unit/src/test/
H A Dnxt_clone_test.c19 nxt_credential_t creds; member
538 ret = nxt_clone_vldt_credential_uidmap(task, map, &tc->creds); in nxt_clone_test_map_assert()
540 ret = nxt_clone_vldt_credential_gidmap(task, map, &tc->creds); in nxt_clone_test_map_assert()