diff options
author | Michael Wolf <mikewolf@riseup.net> | 2014-05-20 22:52:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-05-22 19:48:24 -0400 |
commit | 387f294d40c9b5c0bb9d6f29b85b7da1a185bc8c (patch) | |
tree | 96bc08e096f553d2fc3852ec46f7f141024a9456 | |
parent | c8af95d3366157f6c3d5fc345d9d9a3914c0efe2 (diff) | |
download | tor-387f294d40c9b5c0bb9d6f29b85b7da1a185bc8c.tar tor-387f294d40c9b5c0bb9d6f29b85b7da1a185bc8c.tar.gz |
sandbox: allow access to various stats/*-stats files
Fix for 12064 part 1
-rw-r--r-- | src/or/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 1168f43c9..8e241d407 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"); |