diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-30 19:14:26 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-30 19:14:26 +0300 |
commit | 997d0bc5a657aa481166d58aa4cb2620ba6b67c0 (patch) | |
tree | e4e853e902d5392e588a2a34dba4c92ef3eb8f44 /src/main.h | |
parent | 632e13627f8ad4ebf632a8b616c62dc6622d375e (diff) | |
download | rspamd-997d0bc5a657aa481166d58aa4cb2620ba6b67c0.tar.gz rspamd-997d0bc5a657aa481166d58aa4cb2620ba6b67c0.zip |
* Fix reopening of logs in case of privilleged run.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index c111752da..7ff76afb3 100644 --- a/src/main.h +++ b/src/main.h @@ -97,6 +97,9 @@ struct rspamd_main { statfile_pool_t *statfile_pool; /**< shared statfiles pool */ GHashTable *workers; /**< workers pool indexed by pid */ rspamd_logger_t *logger; + uid_t workers_uid; /**< worker's uid running to */ + gid_t workers_gid; /**< worker's gid running to */ + gboolean is_privilleged; /**< true if run in privilleged mode */ }; struct counter_data { |