mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
2c4e78d95b
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.
7 lines
376 B
Plaintext
7 lines
376 B
Plaintext
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.
|