tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit d9af80083baaa59b78cdabd0f385e415325407bc
parent 68947a49a955bb90849023446f9dc53195bb6f30
Author: Roger Dingledine <arma@torproject.org>
Date:   Wed, 11 Feb 2026 08:31:51 -0500

tell the sandbox about our new renames

Diffstat:
Msrc/app/main/main.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/app/main/main.c b/src/app/main/main.c @@ -1064,6 +1064,13 @@ sandbox_init_filter(void) if (authdir_mode(options)) { RENAME_SUFFIX("my-consensus-microdesc", ".tmp"); RENAME_SUFFIX("my-consensus-ns", ".tmp"); + + sandbox_cfg_allow_rename(&cfg, + get_datadir_fname("my-consensus-microdesc"), + get_datadir_fname("consensus-transparency-microdesc")); + sandbox_cfg_allow_rename(&cfg, + get_datadir_fname("my-consensus-ns"), + get_datadir_fname("consensus-transparency-ns")); } #define STAT_DATADIR(name) \