From: Nick Mathewson Date: Fri, 13 Jun 2014 12:26:23 +0000 (-0400) Subject: sandbox: Permit stat() of DataDir/stats X-Git-Tag: tor-0.2.5.5-alpha~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb1ffe5357e408aa63b16b8691ca938cd62216c;p=thirdparty%2Ftor.git 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. --- diff --git a/src/or/main.c b/src/or/main.c index f7ad41e820..090503e07e 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 );