Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_process.c149 process->user_cred = &rt->user_cred; in nxt_process_init_start()
704 process->user_cred = nxt_mp_zalloc(process->mem_pool, in nxt_process_creds_set()
707 if (nxt_slow_path(process->user_cred == NULL)) { in nxt_process_creds_set()
719 process->user_cred->user = str; in nxt_process_creds_set()
734 return nxt_credential_get(task, process->mem_pool, process->user_cred, str); in nxt_process_creds_set()
757 ret = nxt_credential_setgids(task, process->user_cred); in nxt_process_apply_creds()
762 ret = nxt_credential_setuid(task, process->user_cred); in nxt_process_apply_creds()
H A Dnxt_runtime.h62 nxt_credential_t user_cred; member
H A Dnxt_process.h117 nxt_credential_t *user_cred; member
H A Dnxt_isolation.c99 if (!nxt_str_eq(&app_conf->user, (u_char *) rt->user_cred.user, in nxt_isolation_main_prefork()
100 nxt_strlen(rt->user_cred.user))) in nxt_isolation_main_prefork()
135 if (process->user_cred->uid == 0 && !has_mnt) { in nxt_isolation_main_prefork()
327 creds = process->user_cred; in nxt_isolation_vldt_creds()
H A Dnxt_runtime.c767 rt->user_cred.user = NXT_USER; in nxt_runtime_conf_init()
787 ret = nxt_credential_get(task, rt->mem_pool, &rt->user_cred, in nxt_runtime_conf_init()
997 rt->user_cred.user = p; in nxt_runtime_conf_read_cmd()
H A Dnxt_main_process.c462 app_conf->user.start = (u_char*)rt->user_cred.user; in nxt_main_start_process_handler()
463 app_conf->user.length = nxt_strlen(rt->user_cred.user); in nxt_main_start_process_handler()
574 process->user_cred, in nxt_main_process_created_handler()
H A Dnxt_application.c634 process->user_cred = &rt->user_cred; in nxt_proto_start_process_handler()