[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/maint-0.2.8] sandboxing: allow writing to stats/hidserv-stats
commit 55d380f3dfbc2e0c1c4aa748e38d73593454069b
Author: Peter Palfrader <peter@xxxxxxxxxxxxx>
Date: Sun Jul 3 18:03:26 2016 +0200
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.
---
changes/bug19557 | 4 ++++
src/or/main.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/changes/bug19557 b/changes/bug19557
new file mode 100644
index 0000000..9036cdc
--- /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 0562f84..6b5619c 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");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits