]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Revert "Revert "Add hidserv-stats filname to our sandbox filter""
authorNick Mathewson <nickm@torproject.org>
Tue, 7 Feb 2017 15:13:20 +0000 (10:13 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 7 Feb 2017 15:13:20 +0000 (10:13 -0500)
This reverts commit 5446cb8d3d536e9bc737de6d9286bd4b4b185661.

The underlying revert was done in 0.2.6, since we aren't backporting
seccomp2 loosening fixes to 0.2.6.  But the fix (for 17354) already
went out in 0.2.7.4-rc, so we shouldn't revert it in 0.2.7.

changes/bug17354 [new file with mode: 0644]
src/or/main.c

diff --git a/changes/bug17354 b/changes/bug17354
new file mode 100644 (file)
index 0000000..53da007
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (sandbox):
+    - Add the "hidserv-stats" filename to our sandbox filter for the
+      HiddenServiceStatistics option to work properly. Fixes bug 17354;
+      bugfix on tor-0.2.6.2-alpha~54^2~1. Patch from David Goulet.
index 693d13cd13147577f802b7acd474e46f821351bd..9b3dbb55869067026e810cbc370ea33c415abc25 100644 (file)
@@ -3200,6 +3200,7 @@ sandbox_init_filter(void)
     RENAME_SUFFIX2("stats", "exit-stats", ".tmp");
     RENAME_SUFFIX2("stats", "buffer-stats", ".tmp");
     RENAME_SUFFIX2("stats", "conn-stats", ".tmp");
+    RENAME_SUFFIX2("stats", "hidserv-stats", ".tmp");
     RENAME_SUFFIX("hashed-fingerprint", ".tmp");
     RENAME_SUFFIX("router-stability", ".tmp");