diff options
author | Peter Palfrader <peter@palfrader.org> | 2016-07-03 18:03:26 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2016-07-03 18:05:43 +0200 |
commit | 55d380f3dfbc2e0c1c4aa748e38d73593454069b (patch) | |
tree | f1e3dd33f75dc7c27de37fa264c5b3d5ee66b864 | |
parent | 51b5d09c9406ad58a2ae45b036c381637379fc0a (diff) | |
download | tor-55d380f3dfbc2e0c1c4aa748e38d73593454069b.tar.gz tor-55d380f3dfbc2e0c1c4aa748e38d73593454069b.zip |
sandboxing: allow writing to stats/hidserv-stats
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.
-rw-r--r-- | changes/bug19557 | 4 | ||||
-rw-r--r-- | src/or/main.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug19557 b/changes/bug19557 new file mode 100644 index 0000000000..9036cdc8e8 --- /dev/null +++ b/changes/bug19557 @@ -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. diff --git a/src/or/main.c b/src/or/main.c index 0562f84242..6b5619c7d6 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -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"); |