mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
sandbox: Permit stat() of DataDir/stats
This is a fix for another case of 12064 that alphawolf just spotted. There's already an 0.2.5.5 changelog entry for this.
This commit is contained in:
parent
02dafc270c
commit
bbb1ffe535
1 changed files with 1 additions and 0 deletions
|
@ -2941,6 +2941,7 @@ sandbox_init_filter(void)
|
|||
|
||||
sandbox_cfg_allow_stat_filename_array(&cfg,
|
||||
get_datadir_fname("keys"),
|
||||
get_datadir_fname("stats"),
|
||||
get_datadir_fname2("stats", "dirreq-stats"),
|
||||
NULL, 0
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue