Merge remote-tracking branch 'weasel/bug19557' into maint-0.2.8

This commit is contained in:
Nick Mathewson 2016-07-05 12:40:25 -04:00
commit 8d25ab6347
2 changed files with 5 additions and 0 deletions

4
changes/bug19557 Normal file
View File

@ -0,0 +1,4 @@
o Major bugfixes (sandboxing):
- Our sandboxing code would not allow us to write to stats/hidserv-stats,
causing tor to abort while trying to write stats. This was previously
masked by bug 19556. Fixes bug 19557.

View File

@ -3530,6 +3530,7 @@ sandbox_init_filter(void)
OPEN_DATADIR2_SUFFIX("stats", "exit-stats", ".tmp");
OPEN_DATADIR2_SUFFIX("stats", "buffer-stats", ".tmp");
OPEN_DATADIR2_SUFFIX("stats", "conn-stats", ".tmp");
OPEN_DATADIR2_SUFFIX("stats", "hidserv-stats", ".tmp");
OPEN_DATADIR("approved-routers");
OPEN_DATADIR_SUFFIX("fingerprint", ".tmp");