summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/backtrace.c5
-rw-r--r--src/common/compat.c2
-rw-r--r--src/common/crypto.c3
3 files changed, 8 insertions, 2 deletions
diff --git a/src/common/backtrace.c b/src/common/backtrace.c
index eac54e0b69..3b762b68e3 100644
--- a/src/common/backtrace.c
+++ b/src/common/backtrace.c
@@ -6,6 +6,11 @@
*
* \brief Functions to produce backtraces on bugs, crashes, or assertion
* failures.
+ *
+ * Currently, we've only got an implementation here using the backtrace()
+ * family of functions, which are sometimes provided by libc and sometimes
+ * provided by libexecinfo. We tie into the sigaction() backend in order to
+ * detect crashes.
*/
#define __USE_GNU
diff --git a/src/common/compat.c b/src/common/compat.c
index 6f3e1e680f..af61f024ef 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -6,7 +6,7 @@
/**
* \file compat.c
* \brief Wrappers to make calls more portable. This code defines
- * functions such as tor_malloc, tor_snprintf, get/set various data types,
+ * functions such as tor_snprintf, get/set various data types,
* renaming, setting socket options, switching user IDs. It is basically
* where the non-portable items are conditionally included depending on
* the platform.
diff --git a/src/common/crypto.c b/src/common/crypto.c
index b03162462b..11f8e1db19 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -7,7 +7,8 @@
/**
* \file crypto.c
* \brief Wrapper functions to present a consistent interface to
- * public-key and symmetric cryptography operations from OpenSSL.
+ * public-key and symmetric cryptography operations from OpenSSL and
+ * other places.
**/
#include "orconfig.h"