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

[tor-commits] [tor/master] sandbox: allow access to various stats/*-stats files



commit 387f294d40c9b5c0bb9d6f29b85b7da1a185bc8c
Author: Michael Wolf <mikewolf@xxxxxxxxxx>
Date:   Tue May 20 22:52:16 2014 -0400

    sandbox: allow access to various stats/*-stats files
    
    Fix for 12064 part 1
---
 src/or/main.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/or/main.c b/src/or/main.c
index 1168f43..8e241d4 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2854,6 +2854,14 @@ sandbox_init_filter(void)
         get_datadir_fname2("stats", "bridge-stats.tmp"),
         get_datadir_fname2("stats", "dirreq-stats"),
         get_datadir_fname2("stats", "dirreq-stats.tmp"),
+        get_datadir_fname2("stats", "entry-stats"),
+        get_datadir_fname2("stats", "entry-stats.tmp"),
+        get_datadir_fname2("stats", "exit-stats"),
+        get_datadir_fname2("stats", "exit-stats.tmp"),
+        get_datadir_fname2("stats", "buffer-stats"),
+        get_datadir_fname2("stats", "buffer-stats.tmp"),
+        get_datadir_fname2("stats", "conn-stats"),
+        get_datadir_fname2("stats", "conn-stats.tmp"),
         get_datadir_fname("fingerprint"),
         get_datadir_fname("fingerprint.tmp"),
         get_datadir_fname("hashed-fingerprint"),
@@ -2877,6 +2885,10 @@ sandbox_init_filter(void)
     RENAME_SUFFIX2("keys", "secret_onion_key.old", ".tmp");
     RENAME_SUFFIX2("stats", "bridge-stats", ".tmp");
     RENAME_SUFFIX2("stats", "dirreq-stats", ".tmp");
+    RENAME_SUFFIX2("stats", "entry-stats", ".tmp");
+    RENAME_SUFFIX2("stats", "exit-stats", ".tmp");
+    RENAME_SUFFIX2("stats", "buffer-stats", ".tmp");
+    RENAME_SUFFIX2("stats", "conn-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