summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-19 16:35:24 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-19 16:35:24 -0500
commitedd427a8ba7520b54b92b2d828410491eb3fc2ca (patch)
treed9c45c95b7cb5baf2750d9101437e13f9291d30d /src/or/or.h
parentdf4d5ebb7dfaac49915d7ef775fcbf242e6c688b (diff)
parent65a27d95e750e118162f22797dc22c4d550b9fc8 (diff)
downloadtor-edd427a8ba7520b54b92b2d828410491eb3fc2ca.tar.gz
tor-edd427a8ba7520b54b92b2d828410491eb3fc2ca.zip
Merge branch 'disable_signal_handlers'
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 2617d2d87d..d9fab69c06 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4669,6 +4669,11 @@ typedef struct {
/** List of files that were opened by %include in torrc and torrc-defaults */
smartlist_t *FilesOpenedByIncludes;
+
+ /** If true, Tor shouldn't install any posix signal handlers, since it is
+ * running embedded inside another process.
+ */
+ int DisableSignalHandlers;
} or_options_t;
#define LOG_PROTOCOL_WARN (get_protocol_warning_severity_level())