Moved credential-related code to nxt_credential.c.

This is required to avoid include cycles, as some nxt_clone_* functions
depend on the credential structures, but nxt_process depends on clone
structures.
This commit is contained in:
Tiago Natel
2019-12-06 13:28:05 +00:00
parent c6a11260e8
commit ed2492a66a
9 changed files with 378 additions and 353 deletions

View File

@@ -58,7 +58,7 @@ struct nxt_runtime_s {
const char *engine;
uint32_t engine_connections;
uint32_t auxiliary_threads;
nxt_user_cred_t user_cred;
nxt_credential_t user_cred;
nxt_capabilities_t capabilities;
const char *group;
const char *pid;