From bd8ad674b913582b6f8e5b85ac722e14598d681b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 19 Jul 2013 22:47:49 -0400 Subject: 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. --- src/common/sandbox.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/common/sandbox.h') diff --git a/src/common/sandbox.h b/src/common/sandbox.h index bd6f0cfb4..54f16ec86 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_ */ -- cgit v1.2.3