aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-07-29 16:30:39 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-07-29 16:30:39 +0300
commit8022def6f05bf40e1c6e0fd15d77ed0ecf5c3406 (patch)
treef080ff487369b0a17d6c0e1a9b4c88560e7c379c /src/or/main.c
parent6d5b0367f6e0035f99570b5bb76a75322ae9a85e (diff)
downloadtor-8022def6f05bf40e1c6e0fd15d77ed0ecf5c3406.tar
tor-8022def6f05bf40e1c6e0fd15d77ed0ecf5c3406.tar.gz
added openat parameter filter
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 269d3fd9b..d50f239e6 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2645,6 +2645,8 @@ sandbox_init_filter()
sandbox_cfg_t *cfg = sandbox_cfg_new();
sandbox_cfg_allow_open_filename(&cfg,
+ get_datadir_fname("cached-status"));
+ sandbox_cfg_allow_open_filename(&cfg,
get_datadir_fname("cached-certs"));
sandbox_cfg_allow_open_filename(&cfg,
get_datadir_fname("cached-consensus"));