summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-31 13:58:33 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-31 13:58:33 -0400
commitb76a161e019dd808119f9e6d3bfa54990e7dcb2c (patch)
tree77e7fad14217bafdb36b9f9bfd30ee9d29e33ea7 /src/or/main.c
parent1f9764f90dfaf31abfb9ffb44601cf98f3d5a67e (diff)
parentade9baaf9b40c419f3ddefe6c8ee8f2c5ec8edce (diff)
downloadtor-b76a161e019dd808119f9e6d3bfa54990e7dcb2c.tar.gz
tor-b76a161e019dd808119f9e6d3bfa54990e7dcb2c.zip
Merge branch 'fix-torrcd-sandbox-22605v2'
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index bc47c9eb26..057b31a79f 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3609,6 +3609,10 @@ sandbox_init_filter(void)
}
}
+ SMARTLIST_FOREACH(options->FilesOpenedByIncludes, char *, f, {
+ OPEN(f);
+ });
+
#define RENAME_SUFFIX(name, suffix) \
sandbox_cfg_allow_rename(&cfg, \
get_datadir_fname(name suffix), \