diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-12-20 15:07:05 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-21 13:26:38 -0500 |
commit | cf4b3dbd445799bfad21e84777eff91d3a409f21 (patch) | |
tree | 36cc1eff732672ec9851f6831f451e931ba7a4c7 /src/app/main | |
parent | 01819faaba0b4817ce15d29be0944e23268e76c4 (diff) | |
download | tor-cf4b3dbd445799bfad21e84777eff91d3a409f21.tar.gz tor-cf4b3dbd445799bfad21e84777eff91d3a409f21.zip |
Use the subsystem list to initialize and shutdown process module.
This patch makes the process module use the subsystem list for
initializing and shutting down.
See: https://bugs.torproject.org/28847
Diffstat (limited to 'src/app/main')
-rw-r--r-- | src/app/main/subsystem_list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c index 8640329e92..122f7af215 100644 --- a/src/app/main/subsystem_list.c +++ b/src/app/main/subsystem_list.c @@ -18,6 +18,7 @@ #include "lib/time/time_sys.h" #include "lib/tls/tortls_sys.h" #include "lib/wallclock/wallclock_sys.h" +#include "lib/process/process_sys.h" #include <stddef.h> @@ -32,6 +33,7 @@ const subsys_fns_t *tor_subsystems[] = { &sys_logging, /* -90 */ &sys_time, /* -90 */ &sys_network, /* -90 */ + &sys_process, /* -80 */ &sys_compress, /* -70 */ &sys_crypto, /* -60 */ &sys_tortls, /* -50 */ |