Home
last modified time | relevance | path

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

/unit/test/python/user_group/
H A Dwsgi.py6 uid = os.geteuid()
9 out = json.dumps({'UID': uid, 'GID': gid,}).encode('utf-8')
/unit/src/
H A Dnxt_credential.c36 uc->uid = pwd->pw_uid; in nxt_credential_get()
61 uc->user, uc->uid, uc->base_gid); in nxt_credential_get()
285 nxt_debug(task, "user cred set: \"%s\" uid:%d", uc->user, uc->uid); in nxt_credential_setuid()
287 if (setuid(uc->uid) != 0) { in nxt_credential_setuid()
292 "valid in the application namespace.", uc->uid, uc->user); in nxt_credential_setuid()
297 nxt_alert(task, "setuid(%d) failed %E", uc->uid, nxt_errno); in nxt_credential_setuid()
340 "namespace.", uc->user, uc->uid); in nxt_credential_setgids()
H A Dnxt_clone.c221 default_host_uid = app_creds->uid; in nxt_clone_credential_map()
230 ret = nxt_clone_credential_map_set(task, "uid_map", pid, app_creds->uid, in nxt_clone_credential_map()
296 if (creds->uid >= (nxt_uid_t) m.container in nxt_clone_vldt_credential_uidmap()
297 && creds->uid < (nxt_uid_t) (m.container + m.size)) in nxt_clone_vldt_credential_uidmap()
304 "entry for user \"%s\" (uid %d)", creds->user, creds->uid); in nxt_clone_vldt_credential_uidmap()
H A Dnxt_credential.h15 nxt_uid_t uid; member
H A Dnxt_isolation.c135 if (process->user_cred->uid == 0 && !has_mnt) { in nxt_isolation_main_prefork()