mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
sandbox: Add my-consensus-<flavor-name> to sandbox for dirauth
Fixese #40663 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
5db238f3e3
commit
619dd35321
3
changes/ticket40663
Normal file
3
changes/ticket40663
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
o Minor bugfixes (authorities, sandbox):
|
||||||
|
- Allow to write file my-consensus-<flavor-name> to disk when sandbox is
|
||||||
|
activated. Fixes bug 40663; bugfix on 0.3.5.1-alpha.
|
@ -922,8 +922,11 @@ sandbox_init_filter(void)
|
|||||||
if (options->BridgeAuthoritativeDir)
|
if (options->BridgeAuthoritativeDir)
|
||||||
OPEN_DATADIR_SUFFIX("networkstatus-bridges", ".tmp");
|
OPEN_DATADIR_SUFFIX("networkstatus-bridges", ".tmp");
|
||||||
|
|
||||||
if (authdir_mode(options))
|
if (authdir_mode(options)) {
|
||||||
OPEN_DATADIR("approved-routers");
|
OPEN_DATADIR("approved-routers");
|
||||||
|
OPEN_CACHEDIR_SUFFIX("my-consensus-microdesc", ".tmp");
|
||||||
|
OPEN_CACHEDIR_SUFFIX("my-consensus-ns", ".tmp");
|
||||||
|
}
|
||||||
|
|
||||||
if (options->ServerDNSResolvConfFile)
|
if (options->ServerDNSResolvConfFile)
|
||||||
sandbox_cfg_allow_open_filename(&cfg,
|
sandbox_cfg_allow_open_filename(&cfg,
|
||||||
|
Loading…
Reference in New Issue
Block a user