diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-08-26 21:19:22 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-08-26 21:19:22 +0300 |
commit | 148c6dc47348bccfd304a6ee3cd898663eef8841 (patch) | |
tree | 8cb28c524f234185069e1592c16d2962c5238659 | |
parent | 15d420b564d00891a9a9a388cfb187aff8a89d3b (diff) | |
download | tor-148c6dc47348bccfd304a6ee3cd898663eef8841.tar tor-148c6dc47348bccfd304a6ee3cd898663eef8841.tar.gz |
updated open syscall strings
-rw-r--r-- | src/or/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index 9d0719c46..d0759722e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2647,11 +2647,12 @@ sandbox_init_filter() sandbox_cfg_allow_openat_filename(&cfg, get_datadir_fname("cached-status"), 1); - sandbox_cfg_allow_open_filename_array(&cfg, 23, + sandbox_cfg_allow_open_filename_array(&cfg, 24, get_datadir_fname("cached-certs"), 1, get_datadir_fname("cached-certs.tmp"), 1, get_datadir_fname("cached-consensus"), 1, get_datadir_fname("unverified-consensus"), 1, + get_datadir_fname("unverified-consensus.tmp"), 1, get_datadir_fname("cached-microdesc-consensus"), 1, get_datadir_fname("cached-microdesc-consensus.tmp"), 1, get_datadir_fname("cached-microdescs"), 1, @@ -2683,7 +2684,7 @@ sandbox_init_filter() // orport if (server_mode(get_options())) { - sandbox_cfg_allow_open_filename_array(&cfg, 12, + sandbox_cfg_allow_open_filename_array(&cfg, 14, get_datadir_fname2("keys", "secret_id_key"), 1, get_datadir_fname2("keys", "secret_onion_key"), 1, get_datadir_fname2("keys", "secret_onion_key_ntor"), 1, @@ -2692,7 +2693,9 @@ sandbox_init_filter() get_datadir_fname2("keys", "secret_onion_key.old"), 1, get_datadir_fname2("keys", "secret_onion_key_ntor.old"), 1, get_datadir_fname2("keys", "secret_onion_key.tmp"), 1, + get_datadir_fname2("keys", "secret_id_key.tmp"), 1, get_datadir_fname("fingerprint"), 1, + get_datadir_fname("fingerprint.tmp"), 1, get_datadir_fname("cached-consensus"), 1, get_datadir_fname("cached-consensus.tmp"), 1, "/etc/resolv.conf", 0 |