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

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



commit bbb1ffe5357e408aa63b16b8691ca938cd62216c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
     );

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