summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-09-10 09:03:37 +1000
committerteor <teor@torproject.org>2019-09-10 09:03:37 +1000
commit987768b07766e752d7aa7234916abe1e8e2feb87 (patch)
tree4952b592b5cb39911eed33405b1433d249dc4c70 /src/app
parent796a9b37ea346f413f6684505ca31879ddf3f0f1 (diff)
parentf1c57cd1e5d8ae88f28f764fef7f17081ebf2961 (diff)
downloadtor-987768b07766e752d7aa7234916abe1e8e2feb87.tar.gz
tor-987768b07766e752d7aa7234916abe1e8e2feb87.zip
Merge branch 'bug31615_041' into bug31615_master
Merged modified lines from bug31615_041, and unmodified lines from master.
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/subsystem_list.c38
1 files changed, 20 insertions, 18 deletions
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c
index 95d96f78d2..d525708e7b 100644
--- a/src/app/main/subsystem_list.c
+++ b/src/app/main/subsystem_list.c
@@ -33,33 +33,35 @@
/**
* Global list of the subsystems in Tor, in the order of their initialization.
+ * Want to know the exact level numbers?
+ * We'll implement a level dump command in #31614.
**/
const subsys_fns_t *tor_subsystems[] = {
- &sys_winprocess, /* -100 */
- &sys_torerr, /* -100 */
- &sys_wallclock, /* -99 */
- &sys_threads, /* -95 */
- &sys_logging, /* -90 */
- &sys_time, /* -90 */
- &sys_network, /* -90 */
- &sys_compress, /* -70 */
- &sys_crypto, /* -60 */
- &sys_tortls, /* -50 */
- &sys_process, /* -35 */
+ &sys_winprocess,
+ &sys_torerr,
+ &sys_wallclock,
+ &sys_threads,
+ &sys_logging,
+ &sys_time,
+ &sys_network,
+ &sys_compress,
+ &sys_crypto,
+ &sys_tortls,
+ &sys_process,
- &sys_orconn_event, /* -33 */
- &sys_ocirc_event, /* -32 */
- &sys_btrack, /* -30 */
+ &sys_orconn_event,
+ &sys_ocirc_event,
+ &sys_btrack,
&sys_evloop, /* -20 */
- &sys_mainloop, /* 5 */
- &sys_or, /* 20 */
+ &sys_mainloop,
+ &sys_or,
- &sys_relay, /* 50 */
+ &sys_relay,
#ifdef HAVE_MODULE_DIRAUTH
- &sys_dirauth, /* 70 */
+ &sys_dirauth,
#endif
};