From 356b646976b80c0ca1d582227d625130e7e76755 Mon Sep 17 00:00:00 2001 From: Cristian Toader Date: Mon, 5 Aug 2013 15:40:23 +0300 Subject: added execve and multi-configuration support --- src/or/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/or') diff --git a/src/or/main.c b/src/or/main.c index ab3b8405e..3c9824677 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2650,6 +2650,8 @@ sandbox_init_filter() sandbox_cfg_allow_open_filename(&cfg, get_datadir_fname("cached-certs")); + sandbox_cfg_allow_open_filename(&cfg, + get_datadir_fname("cached-certs.tmp")); sandbox_cfg_allow_open_filename(&cfg, get_datadir_fname("cached-consensus")); sandbox_cfg_allow_open_filename(&cfg, @@ -2681,6 +2683,8 @@ sandbox_init_filter() sandbox_cfg_allow_open_filename(&cfg, get_datadir_fname("unparseable-desc")); + sandbox_cfg_allow_execve(&cfg, "/usr/local/bin/tor"); + return cfg; } -- cgit v1.2.3