diff --git a/src/common/compat.c b/src/common/compat.c index 9575ab0808..9cc0b4f040 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -129,7 +129,7 @@ SecureZeroMemory(PVOID ptr, SIZE_T cnt) #include "lib/container/smartlist.h" #include "lib/wallclock/tm_cvt.h" #include "lib/net/address.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" /** As open(path, flags, mode), but return an fd with the close-on-exec mode * set. */ diff --git a/src/common/storagedir.c b/src/common/storagedir.c index 10b2301274..0e0618d517 100644 --- a/src/common/storagedir.c +++ b/src/common/storagedir.c @@ -5,7 +5,7 @@ #include "common/compat.h" #include "common/confline.h" #include "common/memarea.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "common/storagedir.h" #include "lib/log/torlog.h" #include "common/util.h" diff --git a/src/common/util.c b/src/common/util.c index 25eba4b577..8334dd7ae0 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -21,7 +21,7 @@ #include "lib/container/smartlist.h" #include "lib/fdio/fdio.h" #include "lib/net/address.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "lib/err/backtrace.h" #include "common/util_process.h" #include "common/util_format.h" diff --git a/src/lib/crypt_ops/crypto.c b/src/lib/crypt_ops/crypto.c index fcd6945c84..9df9e36442 100644 --- a/src/lib/crypt_ops/crypto.c +++ b/src/lib/crypt_ops/crypto.c @@ -67,7 +67,7 @@ ENABLE_GCC_WARNING(redundant-decls) #include "lib/crypt_ops/aes.h" #include "common/util.h" #include "common/compat.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "common/util_format.h" #include "keccak-tiny/keccak-tiny.h" diff --git a/src/lib/crypt_ops/crypto_rand.c b/src/lib/crypt_ops/crypto_rand.c index bff32c7ec6..bf6a35ddbc 100644 --- a/src/lib/crypt_ops/crypto_rand.c +++ b/src/lib/crypt_ops/crypto_rand.c @@ -25,7 +25,7 @@ #include "common/compat.h" #include "lib/crypt_ops/compat_openssl.h" #include "lib/crypt_ops/crypto_util.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "lib/testsupport/testsupport.h" #include "lib/log/torlog.h" #include "common/util.h" diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c index 9842fd9831..f6f445df02 100644 --- a/src/lib/sandbox/sandbox.c +++ b/src/lib/sandbox/sandbox.c @@ -32,7 +32,7 @@ #include #include -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "lib/container/map.h" #include "lib/err/torerr.h" #include "lib/log/torlog.h" diff --git a/src/or/config.c b/src/or/config.c index cc3cc3ec55..98f3ff77b0 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -98,7 +98,7 @@ #include "or/hs_config.h" #include "or/rephist.h" #include "or/router.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "common/util.h" #include "or/routerlist.h" #include "or/routerset.h" diff --git a/src/or/connection.c b/src/or/connection.c index e06e9c650a..01067e94f4 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -102,7 +102,7 @@ #include "or/routerlist.h" #include "or/transports.h" #include "or/routerparse.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #ifdef HAVE_PWD_H #include diff --git a/src/or/dns.c b/src/or/dns.c index 8d809d8c3c..ddb50d1964 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -63,7 +63,7 @@ #include "or/relay.h" #include "or/router.h" #include "ht.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "or/edge_connection_st.h" #include "or/or_circuit_st.h" diff --git a/src/or/main.c b/src/or/main.c index c690fdd906..1c77cdfb56 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -111,7 +111,7 @@ #include "common/util_process.h" #include "or/ext_orport.h" #include "common/memarea.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 66967f13f5..a86e29adb2 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -119,7 +119,7 @@ #include "or/routerlist.h" #include "or/routerparse.h" #include "or/routerset.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "or/torcert.h" #include "or/dirauth/dirvote.h" diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 91475cd511..8f5113f041 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -74,7 +74,7 @@ #include "or/routerkeys.h" #include "or/routerlist.h" #include "or/routerparse.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "or/shared_random_client.h" #include "or/torcert.h" #include "or/voting_schedule.h" diff --git a/src/or/statefile.c b/src/or/statefile.c index 53a25e13f2..80c56b2d52 100644 --- a/src/or/statefile.c +++ b/src/or/statefile.c @@ -40,7 +40,7 @@ #include "or/main.h" #include "or/rephist.h" #include "or/router.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "or/statefile.h" /** A list of state-file "abbreviations," for compatibility. */ diff --git a/src/test/test_options.c b/src/test/test_options.c index bf35e3c5be..6f31d97673 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -15,7 +15,7 @@ #include "or/main.h" #include "test/log_test_helpers.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include "common/memarea.h" #include "or/policies.h" #include "test/test_helpers.h" diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index a13de0b575..f307f6a912 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -8,7 +8,7 @@ #include "common/util.h" #include "lib/net/address.h" #include "lib/log/torlog.h" -#include "common/sandbox.h" +#include "lib/sandbox/sandbox.h" #include #include