[tor-commits] [tor/master] sandbox: Permit stat() of DataDir/stats

nickm at torproject.org nickm at torproject.org
Fri Jun 13 12:37:02 UTC 2014


commit bbb1ffe5357e408aa63b16b8691ca938cd62216c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jun 13 08:26:23 2014 -0400

    sandbox: Permit stat() of DataDir/stats
    
    This is a fix for another case of 12064 that alphawolf just spotted.
    
    There's already an 0.2.5.5 changelog entry for this.
---
 src/or/main.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/or/main.c b/src/or/main.c
index f7ad41e..090503e 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2941,6 +2941,7 @@ sandbox_init_filter(void)
 
     sandbox_cfg_allow_stat_filename_array(&cfg,
         get_datadir_fname("keys"),
+        get_datadir_fname("stats"),
         get_datadir_fname2("stats", "dirreq-stats"),
         NULL, 0
     );



More information about the tor-commits mailing list