]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add LD_PROCESS as log domain.
authorAlexander Færøy <ahf@torproject.org>
Mon, 10 Sep 2018 13:15:45 +0000 (15:15 +0200)
committerAlexander Færøy <ahf@torproject.org>
Tue, 27 Nov 2018 18:31:08 +0000 (19:31 +0100)
See: https://bugs.torproject.org/28179

doc/tor.1.txt
src/lib/log/log.c
src/lib/log/log.h

index e94382b66bcb7ea764d1e2412ebc9844daa7a3bd..42fe8f1bccdf81b1380059a4ca9a51dd4e89bc86 100644 (file)
@@ -669,7 +669,8 @@ GENERAL OPTIONS
  +
     The currently recognized domains are: general, crypto, net, config, fs,
     protocol, mm, http, app, control, circ, rend, bug, dir, dirserv, or, edge,
-    acct, hist, handshake, heartbeat, channel, sched, guard, consdiff, and dos.
+    acct, hist, handshake, heartbeat, channel, sched, guard, consdiff, dos, and
+    process.
     Domain names are case-insensitive. +
  +
     For example, "`Log [handshake]debug [~net,~mm]info notice stdout`" sends
index 46107fe84899feb3b2060d00172b9c702e83917e..861de6e963af998c9c42f6527787af6bc3442746 100644 (file)
@@ -1268,7 +1268,7 @@ static const char *domain_list[] = {
   "GENERAL", "CRYPTO", "NET", "CONFIG", "FS", "PROTOCOL", "MM",
   "HTTP", "APP", "CONTROL", "CIRC", "REND", "BUG", "DIR", "DIRSERV",
   "OR", "EDGE", "ACCT", "HIST", "HANDSHAKE", "HEARTBEAT", "CHANNEL",
-  "SCHED", "GUARD", "CONSDIFF", "DOS", NULL
+  "SCHED", "GUARD", "CONSDIFF", "DOS", "PROCESS", NULL
 };
 
 /** Return a bitmask for the log domain for which <b>domain</b> is the name,
index 493409756f24e2901176681a69dfe4fff4438af9..1cd6087eb8eac4836d47b1351fadf5c5d9e11861 100644 (file)
 #define LD_CONSDIFF  (1u<<24)
 /** Denial of Service mitigation. */
 #define LD_DOS       (1u<<25)
+/** Processes */
+#define LD_PROCESS   (1u<<26)
 /** Number of logging domains in the code. */
-#define N_LOGGING_DOMAINS 26
+#define N_LOGGING_DOMAINS 27
 
 /** This log message is not safe to send to a callback-based logger
  * immediately.  Used as a flag, not a log domain. */