aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs/conffile.c
AgeCommit message (Collapse)Author
2020-12-08Avoid sandbox bug warning when unglobbing patterns #40094Daniel Pinto
Adds a more user-friendly error message when the configuration is reloaded and a new %include is added that makes its unglobbing access files/folders not allowed by the seccomp sandbox.
2020-12-08Fix a couple of documentation comments related to #40094Nick Mathewson
2020-11-12When handling includes, detect missing interned strings earlier.Nick Mathewson
There were three separate places where we were hitting a sandbox Bug warning before we actually exited. Fixes #40094; bugfix on 0.3.1.1-alpha when %includes were introduced.
2020-07-15Add support for patterns on %include #25140Daniel Pinto
Also adds generic tor_glob function to expand globs.
2020-05-08Improve logging of included config filesDaniel Pinto
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-09-23Fix bug when %including folder with comment only files. #31408Daniel Pinto
When processing a %included folder, a bug caused the pointer to the last element of the options list to be set to NULL when processing a file with only comments or whitepace. This could cause options from other files on the same folder to be discarded depending on the lines after the affected %include.
2019-01-16Bump copyright date to 2019.Nick Mathewson
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-10Rename util_malloc to malloc.Nick Mathewson
2018-07-01File-level documentation for some of src/lib.Nick Mathewson
2018-06-28Move conffile and storagedir to lib/fsNick Mathewson