diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-02-28 17:57:47 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-28 17:57:47 +0100 |
commit | 9fc472e1a8a53a18dfbd5c9cde2f1c268c335e96 (patch) | |
tree | 44a440d4a5e6109cb2dcec68a0294aeece4dbfc0 /src/common | |
parent | 69fc025e956f5a87db0860a1be54e6d3612c8074 (diff) | |
download | tor-9fc472e1a8a53a18dfbd5c9cde2f1c268c335e96.tar.gz tor-9fc472e1a8a53a18dfbd5c9cde2f1c268c335e96.zip |
clean/extend some module docs, including fix from #18403
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/backtrace.c | 5 | ||||
-rw-r--r-- | src/common/compat.c | 2 | ||||
-rw-r--r-- | src/common/crypto.c | 3 |
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" |