mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Add a couple of missing renames so the server sandbox works again
This commit is contained in:
parent
e6785ee16d
commit
ce776cf270
@ -2839,6 +2839,13 @@ sandbox_init_filter(void)
|
||||
RENAME_SUFFIX2("keys", "secret_onion_key.old", ".tmp");
|
||||
RENAME_SUFFIX("hashed-fingerprint", ".tmp");
|
||||
|
||||
sandbox_cfg_allow_rename(&cfg,
|
||||
get_datadir_fname2("keys", "secret_onion_key"),
|
||||
get_datadir_fname2("keys", "secret_onion_key.old"));
|
||||
sandbox_cfg_allow_rename(&cfg,
|
||||
get_datadir_fname2("keys", "secret_onion_key_ntor"),
|
||||
get_datadir_fname2("keys", "secret_onion_key_ntor.old"));
|
||||
|
||||
sandbox_cfg_allow_stat_filename_array(&cfg,
|
||||
get_datadir_fname("keys"),
|
||||
get_datadir_fname("stats/dirreq-stats"),
|
||||
|
Loading…
Reference in New Issue
Block a user