[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.9] Revert "Revert "Add hidserv-stats filname to our sandbox filter""



commit 3f5a710958bfa2e6d1c2a6d78b0718514f2f7350
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Feb 7 10:13:20 2017 -0500

    Revert "Revert "Add hidserv-stats filname to our sandbox filter""
    
    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 | 4 ++++
 src/or/main.c    | 1 +
 2 files changed, 5 insertions(+)

diff --git a/changes/bug17354 b/changes/bug17354
new file mode 100644
index 0000000..53da007
--- /dev/null
+++ b/changes/bug17354
@@ -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.
diff --git a/src/or/main.c b/src/or/main.c
index 693d13c..9b3dbb5 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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");
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits