]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Also disable spawning on Sandbox.
authorNick Mathewson <nickm@torproject.org>
Wed, 9 Aug 2017 14:56:57 +0000 (10:56 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 24 Aug 2017 13:23:32 +0000 (09:23 -0400)
This isn't a functional change, but it makes our logic more clear,
and catches bugs earlier.

changes/feature22976
src/or/config.c

index 334f47ad0a424606d93524260dd4967d509ae5f3..407fd15b0a2a0967c80358a17691f8d47a1d02e9 100644 (file)
@@ -1,5 +1,6 @@
   o Minor features (integration, hardening):
-    - Added a new NoExec option to . When this option is set to 1,
+    - Added a new NoExec option, to prevent Tor from running
+      other programs. When this option is set to 1,
       Tor will never try to run another program, regardless of
       the settings of PortForwardingHelper, ClientTransportPlugin,
       or ServerTransportPlugin. Once NoExec is set, it cannot be
index e282a6cc60a228636ddde3405c20ecc57a61f1ca..30853724e499b88cda4fcad22603b2814a9ec0bc 100644 (file)
@@ -1596,7 +1596,7 @@ options_act(const or_options_t *old_options)
   const int transition_affects_guards =
     old_options && options_transition_affects_guards(old_options, options);
 
-  if (options->NoExec) {
+  if (options->NoExec || options->Sandbox) {
     tor_disable_spawning_background_processes();
   }