aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-06 18:14:16 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-14 16:07:03 -0500
commitc0a7527eb8590b39f11dd8b0ae18794dfc63a934 (patch)
tree47018fe93b2b79c9002a3bf4bd8153b0c91d5d07 /src/lib
parentf6b8c7da66bf93a9505b397661616cc4af2a34f6 (diff)
downloadtor-c0a7527eb8590b39f11dd8b0ae18794dfc63a934.tar.gz
tor-c0a7527eb8590b39f11dd8b0ae18794dfc63a934.zip
Remove dependency on lib/net from lib/sandbox.
This was trivial, and the easiest way to remove the remaining .may_include circularities.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/sandbox/.may_include1
-rw-r--r--src/lib/sandbox/sandbox.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/sandbox/.may_include b/src/lib/sandbox/.may_include
index 84906dfb3d..e8ba5bb73c 100644
--- a/src/lib/sandbox/.may_include
+++ b/src/lib/sandbox/.may_include
@@ -5,7 +5,6 @@ lib/container/*.h
lib/err/*.h
lib/log/*.h
lib/malloc/*.h
-lib/net/*.h
lib/sandbox/*.h
lib/sandbox/*.inc
lib/string/*.h
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index 6f074bb4e1..4d832f106d 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -38,7 +38,6 @@
#include "lib/err/torerr.h"
#include "lib/log/log.h"
#include "lib/cc/torint.h"
-#include "lib/net/resolve.h"
#include "lib/malloc/malloc.h"
#include "lib/string/scanf.h"
@@ -1553,7 +1552,6 @@ install_syscall_filter(sandbox_cfg_t* cfg)
// marking the sandbox as active
sandbox_active = 1;
- tor_make_getaddrinfo_cache_active();
end:
seccomp_release(ctx);