summaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-19 22:47:49 -0400
committerNick Mathewson <nickm@torproject.org>2013-11-18 10:43:15 -0500
commitbd8ad674b913582b6f8e5b85ac722e14598d681b (patch)
tree6833bbd938ce99a8d8c91bd8f6e53befdd149711 /src/common/sandbox.h
parentb0023083c413c6447ef34cf3c6cfaf54a1cc8793 (diff)
downloadtor-bd8ad674b913582b6f8e5b85ac722e14598d681b.tar.gz
tor-bd8ad674b913582b6f8e5b85ac722e14598d681b.zip
Add a sighandler-safe logging mechanism
We had accidentially grown two fake ones: one for backtrace.c, and one for sandbox.c. Let's do this properly instead. Now, when we configure logs, we keep track of fds that should get told about bad stuff happening from signal handlers. There's another entry point for these that avoids using non-signal-handler-safe functions.
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index bd6f0cfb47..54f16ec86e 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -48,7 +48,6 @@
#endif // __linux__
-void sandbox_set_debugging_fd(int fd);
int tor_global_sandbox(void);
#endif /* SANDBOX_H_ */