summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-24 16:01:24 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-24 16:01:24 -0500
commit7a782820e92cef57afcea6c6936d102d6f4512fe (patch)
treed07d08beb981c5e1063e682bf1f0ad380564cee0 /src/or/main.c
parent040ec4d0347235da4fd5696b3eb063e609047024 (diff)
downloadtor-7a782820e92cef57afcea6c6936d102d6f4512fe.tar.gz
tor-7a782820e92cef57afcea6c6936d102d6f4512fe.zip
Make the sandbox work again with chutney.
Previously, we had a problem due to the check_private_dir() rewrite. Bug not in any released Tor.
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 11caea5d89..0b45af9d5d 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3300,6 +3300,8 @@ sandbox_init_filter(void)
OPEN_DATADIR2(name, name2 suffix); \
} while (0)
+ OPEN(options->DataDirectory);
+ OPEN_DATADIR("keys");
OPEN_DATADIR_SUFFIX("cached-certs", ".tmp");
OPEN_DATADIR_SUFFIX("cached-consensus", ".tmp");
OPEN_DATADIR_SUFFIX("unverified-consensus", ".tmp");