Fix for #40020 for 0.3.5 (seccomp sandbox openat fails on some versions of glibc) - merge after 27315 - maint-0.3.5
Note that this pull request also includes my fix for #27315 (closed). This is because I use some of the refactoring I did for this fix. As such, this fix should be applied after #27315 (closed).
Github PR: https://github.com/torproject/tor/pull/2013
Edited by Nick Mathewson