diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-13 20:05:31 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-13 20:05:31 +0000 |
commit | 256db98c73461e8709aa6af43e7a1aec96b89f16 (patch) | |
tree | 72bb250d0490ece5e019a26e3caaee4855f15b2c /sandbox/win | |
parent | d30379c187b8a338a431942ce4f25944578ae26b (diff) | |
download | chromium_src-256db98c73461e8709aa6af43e7a1aec96b89f16.zip chromium_src-256db98c73461e8709aa6af43e7a1aec96b89f16.tar.gz chromium_src-256db98c73461e8709aa6af43e7a1aec96b89f16.tar.bz2 |
sandbox_poc + test to sandbox/win
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/win')
31 files changed, 43 insertions, 43 deletions
diff --git a/sandbox/win/sandbox_poc/main_ui_window.cc b/sandbox/win/sandbox_poc/main_ui_window.cc index 5e54606..4d7c13a 100644 --- a/sandbox/win/sandbox_poc/main_ui_window.cc +++ b/sandbox/win/sandbox_poc/main_ui_window.cc @@ -12,9 +12,9 @@ #include <algorithm> #include <sstream> -#include "sandbox/sandbox_poc/main_ui_window.h" +#include "sandbox/win/sandbox_poc/main_ui_window.h" #include "base/logging.h" -#include "sandbox/sandbox_poc/resource.h" +#include "sandbox/win/sandbox_poc/resource.h" #include "sandbox/win/src/acl.h" #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/win_utils.h" diff --git a/sandbox/win/sandbox_poc/pocdll/fs.cc b/sandbox/win/sandbox_poc/pocdll/fs.cc index 42c1006..5fab41b 100644 --- a/sandbox/win/sandbox_poc/pocdll/fs.cc +++ b/sandbox/win/sandbox_poc/pocdll/fs.cc @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" // This file contains the tests used to verify the security of the file system. diff --git a/sandbox/win/sandbox_poc/pocdll/handles.cc b/sandbox/win/sandbox_poc/pocdll/handles.cc index 05a57b7..da0faed 100644 --- a/sandbox/win/sandbox_poc/pocdll/handles.cc +++ b/sandbox/win/sandbox_poc/pocdll/handles.cc @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" #include "sandbox/tools/finder/ntundoc.h" // This file contains the tests used to verify the security of handles in diff --git a/sandbox/win/sandbox_poc/pocdll/invasive.cc b/sandbox/win/sandbox_poc/pocdll/invasive.cc index 1bac7c1..df36612 100644 --- a/sandbox/win/sandbox_poc/pocdll/invasive.cc +++ b/sandbox/win/sandbox_poc/pocdll/invasive.cc @@ -3,8 +3,8 @@ // found in the LICENSE file. #include <malloc.h> -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" // This file contains the tests used to verify if it's possible to DOS or crash // the machine. All tests that can impact the stability of the machine should diff --git a/sandbox/win/sandbox_poc/pocdll/network.cc b/sandbox/win/sandbox_poc/pocdll/network.cc index 09e9f33..56ab5ae 100644 --- a/sandbox/win/sandbox_poc/pocdll/network.cc +++ b/sandbox/win/sandbox_poc/pocdll/network.cc @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" // This file contains the tests used to verify the security of the network. diff --git a/sandbox/win/sandbox_poc/pocdll/pocdll.cc b/sandbox/win/sandbox_poc/pocdll/pocdll.cc index 3387064..e058f58 100644 --- a/sandbox/win/sandbox_poc/pocdll/pocdll.cc +++ b/sandbox/win/sandbox_poc/pocdll/pocdll.cc @@ -3,8 +3,8 @@ // found in the LICENSE file. -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" BOOL APIENTRY DllMain(HMODULE module, DWORD reason_for_call, diff --git a/sandbox/win/sandbox_poc/pocdll/processes_and_threads.cc b/sandbox/win/sandbox_poc/pocdll/processes_and_threads.cc index 1bef005..0a7503c 100644 --- a/sandbox/win/sandbox_poc/pocdll/processes_and_threads.cc +++ b/sandbox/win/sandbox_poc/pocdll/processes_and_threads.cc @@ -4,8 +4,8 @@ #include <windows.h> #include <Tlhelp32.h> -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" // This file contains the tests used to verify the security of threads and // processes. diff --git a/sandbox/win/sandbox_poc/pocdll/registry.cc b/sandbox/win/sandbox_poc/pocdll/registry.cc index f5b249d..7394ec4 100644 --- a/sandbox/win/sandbox_poc/pocdll/registry.cc +++ b/sandbox/win/sandbox_poc/pocdll/registry.cc @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" // This file contains the tests used to verify the security of the registry. diff --git a/sandbox/win/sandbox_poc/pocdll/spyware.cc b/sandbox/win/sandbox_poc/pocdll/spyware.cc index b9bf64a..a77fe0a 100644 --- a/sandbox/win/sandbox_poc/pocdll/spyware.cc +++ b/sandbox/win/sandbox_poc/pocdll/spyware.cc @@ -3,8 +3,8 @@ // found in the LICENSE file. #include <string> -#include "sandbox/sandbox_poc/pocdll/exports.h" -#include "sandbox/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" // This file contains the tests used to verify the security of the system by // using some spying techniques. diff --git a/sandbox/win/sandbox_poc/sandbox.cc b/sandbox/win/sandbox_poc/sandbox.cc index 13fcc8d..31cf308 100644 --- a/sandbox/win/sandbox_poc/sandbox.cc +++ b/sandbox/win/sandbox_poc/sandbox.cc @@ -5,9 +5,9 @@ #include <windows.h> #include <tchar.h> #include <shellapi.h> -#include "sandbox/sandbox_poc/sandbox.h" +#include "sandbox/win/sandbox_poc/sandbox.h" #include "base/logging.h" -#include "sandbox/sandbox_poc/main_ui_window.h" +#include "sandbox/win/sandbox_poc/main_ui_window.h" #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_factory.h" diff --git a/sandbox/win/sandbox_poc/sandbox.h b/sandbox/win/sandbox_poc/sandbox.h index 15531ad..65c09a1 100644 --- a/sandbox/win/sandbox_poc/sandbox.h +++ b/sandbox/win/sandbox_poc/sandbox.h @@ -5,6 +5,6 @@ #ifndef SANDBOX_SANDBOX_POC_SANDBOX_H__ #define SANDBOX_SANDBOX_POC_SANDBOX_H__ -#include "sandbox/sandbox_poc/resource.h" +#include "sandbox/win/sandbox_poc/resource.h" #endif // SANDBOX_SANDBOX_POC_SANDBOX_H__ diff --git a/sandbox/win/src/dep_test.cc b/sandbox/win/src/dep_test.cc index 50d82d5..2817caa 100644 --- a/sandbox/win/src/dep_test.cc +++ b/sandbox/win/src/dep_test.cc @@ -5,7 +5,7 @@ #include "sandbox/win/src/dep.h" #include "sandbox/win/src/sandbox_utils.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/win/src/file_policy_test.cc b/sandbox/win/src/file_policy_test.cc index 3c3ad7da..ef33101 100644 --- a/sandbox/win/src/file_policy_test.cc +++ b/sandbox/win/src/file_policy_test.cc @@ -14,8 +14,8 @@ #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/sandbox_policy.h" #include "sandbox/win/src/win_utils.h" -#include "sandbox/tests/common/controller.h" -#include "sandbox/tests/common/test_utils.h" +#include "sandbox/win/tests/common/controller.h" +#include "sandbox/win/tests/common/test_utils.h" #include "testing/gtest/include/gtest/gtest.h" #define BINDNTDLL(name) \ diff --git a/sandbox/win/src/handle_closer_test.cc b/sandbox/win/src/handle_closer_test.cc index fffe1b0..b35ff5e 100644 --- a/sandbox/win/src/handle_closer_test.cc +++ b/sandbox/win/src/handle_closer_test.cc @@ -8,7 +8,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace { diff --git a/sandbox/win/src/handle_policy_test.cc b/sandbox/win/src/handle_policy_test.cc index 29028e2..65efbc85 100644 --- a/sandbox/win/src/handle_policy_test.cc +++ b/sandbox/win/src/handle_policy_test.cc @@ -9,7 +9,7 @@ #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/sandbox_policy.h" #include "sandbox/win/src/win_utils.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/win/src/integrity_level_test.cc b/sandbox/win/src/integrity_level_test.cc index 4f79aea..67ea9de 100644 --- a/sandbox/win/src/integrity_level_test.cc +++ b/sandbox/win/src/integrity_level_test.cc @@ -10,7 +10,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_policy.h" #include "sandbox/win/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/win/src/ipc_ping_test.cc b/sandbox/win/src/ipc_ping_test.cc index 8bfdc95..64e3de6 100644 --- a/sandbox/win/src/ipc_ping_test.cc +++ b/sandbox/win/src/ipc_ping_test.cc @@ -6,7 +6,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/win/src/named_pipe_policy_test.cc b/sandbox/win/src/named_pipe_policy_test.cc index f4cdc1a..b89a191 100644 --- a/sandbox/win/src/named_pipe_policy_test.cc +++ b/sandbox/win/src/named_pipe_policy_test.cc @@ -6,7 +6,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_policy.h" #include "sandbox/win/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/win/src/policy_target_test.cc b/sandbox/win/src/policy_target_test.cc index 232a806..ee28260 100644 --- a/sandbox/win/src/policy_target_test.cc +++ b/sandbox/win/src/policy_target_test.cc @@ -8,7 +8,7 @@ #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/sandbox_utils.h" #include "sandbox/win/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/win/src/process_policy_test.cc b/sandbox/win/src/process_policy_test.cc index 1287788..5e78a8a 100644 --- a/sandbox/win/src/process_policy_test.cc +++ b/sandbox/win/src/process_policy_test.cc @@ -11,7 +11,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_policy.h" #include "sandbox/win/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace { diff --git a/sandbox/win/src/registry_policy_test.cc b/sandbox/win/src/registry_policy_test.cc index f791432..d8ee34b 100644 --- a/sandbox/win/src/registry_policy_test.cc +++ b/sandbox/win/src/registry_policy_test.cc @@ -11,7 +11,7 @@ #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/nt_internals.h" #include "sandbox/win/src/win_utils.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" namespace { diff --git a/sandbox/win/src/sync_policy_test.cc b/sandbox/win/src/sync_policy_test.cc index 4b4e022..6490175 100644 --- a/sandbox/win/src/sync_policy_test.cc +++ b/sandbox/win/src/sync_policy_test.cc @@ -7,7 +7,7 @@ #include "sandbox/win/src/sandbox_policy.h" #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/nt_internals.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/win/src/unload_dll_test.cc b/sandbox/win/src/unload_dll_test.cc index 65c1687..620016c 100644 --- a/sandbox/win/src/unload_dll_test.cc +++ b/sandbox/win/src/unload_dll_test.cc @@ -6,7 +6,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/sandbox_factory.h" #include "sandbox/win/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/win/src/win_utils_unittest.cc b/sandbox/win/src/win_utils_unittest.cc index 08f672e..7265316 100644 --- a/sandbox/win/src/win_utils_unittest.cc +++ b/sandbox/win/src/win_utils_unittest.cc @@ -6,7 +6,7 @@ #include "base/win/scoped_handle.h" #include "sandbox/win/src/win_utils.h" -#include "sandbox/tests/common/test_utils.h" +#include "sandbox/win/tests/common/test_utils.h" #include "testing/gtest/include/gtest/gtest.h" TEST(WinUtils, IsReparsePoint) { diff --git a/sandbox/win/tests/common/controller.cc b/sandbox/win/tests/common/controller.cc index aa1815f..3d50848 100644 --- a/sandbox/win/tests/common/controller.cc +++ b/sandbox/win/tests/common/controller.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #include <string> diff --git a/sandbox/win/tests/common/test_utils.cc b/sandbox/win/tests/common/test_utils.cc index 929c322..cdd86de 100644 --- a/sandbox/win/tests/common/test_utils.cc +++ b/sandbox/win/tests/common/test_utils.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/tests/common/test_utils.h" +#include "sandbox/win/tests/common/test_utils.h" #include <winioctl.h> diff --git a/sandbox/win/tests/integration_tests/integration_tests.cc b/sandbox/win/tests/integration_tests/integration_tests.cc index 5096abb..1996430 100644 --- a/sandbox/win/tests/integration_tests/integration_tests.cc +++ b/sandbox/win/tests/integration_tests/integration_tests.cc @@ -3,7 +3,7 @@ // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" int wmain(int argc, wchar_t **argv) { if (argc >= 2) { diff --git a/sandbox/win/tests/integration_tests/integration_tests_test.cc b/sandbox/win/tests/integration_tests/integration_tests_test.cc index 8db79f6..1f54c64 100644 --- a/sandbox/win/tests/integration_tests/integration_tests_test.cc +++ b/sandbox/win/tests/integration_tests/integration_tests_test.cc @@ -8,7 +8,7 @@ #include "sandbox/win/src/sandbox.h" #include "sandbox/win/src/target_services.h" #include "sandbox/win/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/win/tests/validation_tests/commands.cc b/sandbox/win/tests/validation_tests/commands.cc index d99451f..dcdd433 100644 --- a/sandbox/win/tests/validation_tests/commands.cc +++ b/sandbox/win/tests/validation_tests/commands.cc @@ -5,9 +5,9 @@ #include <windows.h> #include <string> -#include "sandbox/tests/validation_tests/commands.h" +#include "sandbox/win/tests/validation_tests/commands.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" namespace { diff --git a/sandbox/win/tests/validation_tests/suite.cc b/sandbox/win/tests/validation_tests/suite.cc index 3147f70..95209b7 100644 --- a/sandbox/win/tests/validation_tests/suite.cc +++ b/sandbox/win/tests/validation_tests/suite.cc @@ -10,7 +10,7 @@ #include "base/win/windows_version.h" #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" #pragma comment(lib, "shlwapi.lib") diff --git a/sandbox/win/tests/validation_tests/unit_tests.cc b/sandbox/win/tests/validation_tests/unit_tests.cc index 490f7ec..56be2ce 100644 --- a/sandbox/win/tests/validation_tests/unit_tests.cc +++ b/sandbox/win/tests/validation_tests/unit_tests.cc @@ -3,7 +3,7 @@ // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/tests/common/controller.h" int wmain(int argc, wchar_t **argv) { if (argc >= 2) { |