diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-02-25 08:55:25 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-02-25 08:55:25 -0500 |
commit | 065e7da8e6fdbd9331de8c13344275a8e0fbf32d (patch) | |
tree | 063d36265dd691d1e49232358e4267c417d4ed96 /src/feature | |
parent | 69238ca2da923c8a50d5c1007f3e702eea163b50 (diff) | |
download | tor-065e7da8e6fdbd9331de8c13344275a8e0fbf32d.tar.gz tor-065e7da8e6fdbd9331de8c13344275a8e0fbf32d.zip |
Re-enable and fix unit test for nofork mappings
This test was previously written to use the contents of the system
headers to decide whether INHERIT_NONE or INHERIT_ZERO was going to
work. But that won't work across different environments, such as
(for example) when the kernel doesn't match the headers. Instead,
we add a testing-only feature to the code to track which of these
options actually worked, and verify that it behaved as we expected.
Closes ticket 29541; bugfix not on any released version of Tor.
Diffstat (limited to 'src/feature')
0 files changed, 0 insertions, 0 deletions