diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-17 16:41:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-17 16:41:01 -0500 |
commit | e969d9c6b4b82178fbc840e3d53e12cbb64fee5c (patch) | |
tree | 5be34da1967f5358ed84c816c86a4bce7d656a0e /src/app | |
parent | 5a22b42c3a01ad8d99e977cfd9efa760438129e9 (diff) | |
parent | c8b8b15f0eb2651dea694a057e70e6b8c34dbe05 (diff) | |
download | tor-e969d9c6b4b82178fbc840e3d53e12cbb64fee5c.tar.gz tor-e969d9c6b4b82178fbc840e3d53e12cbb64fee5c.zip |
Merge branch 'ticket28179_squashed' into ticket28179_squashed_merged
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/config/config.c | 2 | ||||
-rw-r--r-- | src/app/main/main.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index dcefa3d6a4..1d0b435c7c 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -142,7 +142,7 @@ #include "lib/process/pidfile.h" #include "lib/process/restrict.h" #include "lib/process/setuid.h" -#include "lib/process/subprocess.h" +#include "lib/process/process.h" #include "lib/net/gethostname.h" #include "lib/thread/numcpus.h" diff --git a/src/app/main/main.c b/src/app/main/main.c index 3f4e1d06a7..51113cd53c 100644 --- a/src/app/main/main.c +++ b/src/app/main/main.c @@ -74,6 +74,7 @@ #include "lib/net/resolve.h" #include "lib/process/waitpid.h" +#include "lib/process/process.h" #include "lib/meminfo/meminfo.h" #include "lib/osinfo/uname.h" @@ -558,6 +559,10 @@ tor_init(int argc, char *argv[]) rend_cache_init(); addressmap_init(); /* Init the client dns cache. Do it always, since it's * cheap. */ + + /* Initialize Process subsystem. */ + process_init(); + /* Initialize the HS subsystem. */ hs_init(); @@ -785,6 +790,7 @@ tor_free_all(int postfork) circuitmux_ewma_free_all(); accounting_free_all(); protover_summary_cache_free_all(); + process_free_all(); if (!postfork) { config_free_all(); |