mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'weasel/bug19556' into maint-0.2.8
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
o Minor bugfixes (sandboxing):
|
||||
- When sandboxing is enabled, we could not write any stats to
|
||||
disk. check_or_create_data_subdir("stats"), which prepares the
|
||||
private stats directory, calls check_private_dir(), which also
|
||||
opens and not just stats() the directory. Therefore, we need to
|
||||
also allow open() for the stats dir in our sandboxing setup.
|
||||
Fixes bug 19556.
|
||||
@@ -3568,6 +3568,7 @@ sandbox_init_filter(void)
|
||||
get_datadir_fname2("keys", "secret_onion_key_ntor.old"));
|
||||
|
||||
STAT_DATADIR("keys");
|
||||
OPEN_DATADIR("stats");
|
||||
STAT_DATADIR("stats");
|
||||
STAT_DATADIR2("stats", "dirreq-stats");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user