diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-08-05 15:40:23 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-08-05 15:40:23 +0300 |
commit | 356b646976b80c0ca1d582227d625130e7e76755 (patch) | |
tree | 901d643092bec844fb58c640d151a7df73aea4a1 /src/or | |
parent | d897690fc7f6f6b5b3d37da2e3e2b05f38222f06 (diff) | |
download | tor-356b646976b80c0ca1d582227d625130e7e76755.tar tor-356b646976b80c0ca1d582227d625130e7e76755.tar.gz |
added execve and multi-configuration support
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -2651,6 +2651,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, get_datadir_fname("unverified-consensus")); @@ -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; } |