diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-18 00:59:15 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-18 00:59:15 +0000 |
commit | 18149178646e45f3d7dde865efbeabbab431799a (patch) | |
tree | cc19ce0fc5cc1927695c789212fab93a195b9d9f /sandbox | |
parent | 4633cdb53427b31197d3c6f991f07bee2a04e0df (diff) | |
download | chromium_src-18149178646e45f3d7dde865efbeabbab431799a.zip chromium_src-18149178646e45f3d7dde865efbeabbab431799a.tar.gz chromium_src-18149178646e45f3d7dde865efbeabbab431799a.tar.bz2 |
Move the Windows sandbox to sandbox/win
This is a rather large refactor to move the Windows sandbox to the right place.
BUG=
TEST=
NOTRY=true
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10689170
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/sandbox.gyp | 2 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/main_ui_window.cc (renamed from sandbox/sandbox_poc/main_ui_window.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/main_ui_window.h (renamed from sandbox/sandbox_poc/main_ui_window.h) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/exports.h (renamed from sandbox/sandbox_poc/pocdll/exports.h) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/fs.cc (renamed from sandbox/sandbox_poc/pocdll/fs.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/handles.cc (renamed from sandbox/sandbox_poc/pocdll/handles.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/invasive.cc (renamed from sandbox/sandbox_poc/pocdll/invasive.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/network.cc (renamed from sandbox/sandbox_poc/pocdll/network.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/pocdll.cc (renamed from sandbox/sandbox_poc/pocdll/pocdll.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/pocdll.vcproj (renamed from sandbox/sandbox_poc/pocdll/pocdll.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/processes_and_threads.cc (renamed from sandbox/sandbox_poc/pocdll/processes_and_threads.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/registry.cc (renamed from sandbox/sandbox_poc/pocdll/registry.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/spyware.cc (renamed from sandbox/sandbox_poc/pocdll/spyware.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/pocdll/utils.h (renamed from sandbox/sandbox_poc/pocdll/utils.h) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/resource.h (renamed from sandbox/sandbox_poc/resource.h) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/sandbox.cc (renamed from sandbox/sandbox_poc/sandbox.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/sandbox.h (renamed from sandbox/sandbox_poc/sandbox.h) | 2 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/sandbox.ico (renamed from sandbox/sandbox_poc/sandbox.ico) | bin | 1078 -> 1078 bytes | |||
-rw-r--r-- | sandbox/win/sandbox_poc/sandbox.rc (renamed from sandbox/sandbox_poc/sandbox.rc) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_poc/sandbox_poc.vcproj (renamed from sandbox/sandbox_poc/sandbox_poc.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_standalone.sln (renamed from sandbox/sandbox_standalone.sln) | 0 | ||||
-rw-r--r-- | sandbox/win/sandbox_win.gypi (renamed from sandbox/sandbox_win.gypi) | 10 | ||||
-rw-r--r-- | sandbox/win/src/Wow64.cc (renamed from sandbox/src/Wow64.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/Wow64.h (renamed from sandbox/src/Wow64.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/Wow64_64.cc (renamed from sandbox/src/Wow64_64.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/acl.cc (renamed from sandbox/src/acl.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/acl.h (renamed from sandbox/src/acl.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/broker_services.cc (renamed from sandbox/src/broker_services.cc) | 12 | ||||
-rw-r--r-- | sandbox/win/src/broker_services.h (renamed from sandbox/src/broker_services.h) | 12 | ||||
-rw-r--r-- | sandbox/win/src/crosscall_client.h (renamed from sandbox/src/crosscall_client.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/crosscall_params.h (renamed from sandbox/src/crosscall_params.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/crosscall_server.cc (renamed from sandbox/src/crosscall_server.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/crosscall_server.h (renamed from sandbox/src/crosscall_server.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/dep.cc (renamed from sandbox/src/dep.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/dep.h (renamed from sandbox/src/dep.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/dep_test.cc (renamed from sandbox/src/dep_test.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/eat_resolver.cc (renamed from sandbox/src/eat_resolver.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/eat_resolver.h (renamed from sandbox/src/eat_resolver.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/file_policy_test.cc (renamed from sandbox/src/file_policy_test.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/filesystem_dispatcher.cc (renamed from sandbox/src/filesystem_dispatcher.cc) | 24 | ||||
-rw-r--r-- | sandbox/win/src/filesystem_dispatcher.h (renamed from sandbox/src/filesystem_dispatcher.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/filesystem_interception.cc (renamed from sandbox/src/filesystem_interception.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/filesystem_interception.h (renamed from sandbox/src/filesystem_interception.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/filesystem_policy.cc (renamed from sandbox/src/filesystem_policy.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/filesystem_policy.h (renamed from sandbox/src/filesystem_policy.h) | 8 | ||||
-rw-r--r-- | sandbox/win/src/handle_closer.cc (renamed from sandbox/src/handle_closer.cc) | 12 | ||||
-rw-r--r-- | sandbox/win/src/handle_closer.h (renamed from sandbox/src/handle_closer.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/handle_closer_agent.cc (renamed from sandbox/src/handle_closer_agent.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/handle_closer_agent.h (renamed from sandbox/src/handle_closer_agent.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/handle_closer_test.cc (renamed from sandbox/src/handle_closer_test.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/src/handle_dispatcher.cc (renamed from sandbox/src/handle_dispatcher.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/handle_dispatcher.h (renamed from sandbox/src/handle_dispatcher.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/handle_interception.cc (renamed from sandbox/src/handle_interception.cc) | 16 | ||||
-rw-r--r-- | sandbox/win/src/handle_interception.h (renamed from sandbox/src/handle_interception.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/handle_policy.cc (renamed from sandbox/src/handle_policy.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/handle_policy.h (renamed from sandbox/src/handle_policy.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/handle_policy_test.cc (renamed from sandbox/src/handle_policy_test.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/handle_table.cc (renamed from sandbox/src/handle_table.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/handle_table.h (renamed from sandbox/src/handle_table.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/integrity_level_test.cc (renamed from sandbox/src/integrity_level_test.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/interception.cc (renamed from sandbox/src/interception.cc) | 18 | ||||
-rw-r--r-- | sandbox/win/src/interception.h (renamed from sandbox/src/interception.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/interception_agent.cc (renamed from sandbox/src/interception_agent.cc) | 12 | ||||
-rw-r--r-- | sandbox/win/src/interception_agent.h (renamed from sandbox/src/interception_agent.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/interception_internal.h (renamed from sandbox/src/interception_internal.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/interception_unittest.cc (renamed from sandbox/src/interception_unittest.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/interceptors.h (renamed from sandbox/src/interceptors.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/interceptors_64.cc (renamed from sandbox/src/interceptors_64.cc) | 24 | ||||
-rw-r--r-- | sandbox/win/src/interceptors_64.h (renamed from sandbox/src/interceptors_64.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/internal_types.h (renamed from sandbox/src/internal_types.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/ipc_ping_test.cc (renamed from sandbox/src/ipc_ping_test.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/ipc_tags.h (renamed from sandbox/src/ipc_tags.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/ipc_unittest.cc (renamed from sandbox/src/ipc_unittest.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/job.cc (renamed from sandbox/src/job.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/job.h (renamed from sandbox/src/job.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/job_unittest.cc (renamed from sandbox/src/job_unittest.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_dispatcher.cc (renamed from sandbox/src/named_pipe_dispatcher.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_dispatcher.h (renamed from sandbox/src/named_pipe_dispatcher.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_interception.cc (renamed from sandbox/src/named_pipe_interception.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_interception.h (renamed from sandbox/src/named_pipe_interception.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_policy.cc (renamed from sandbox/src/named_pipe_policy.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_policy.h (renamed from sandbox/src/named_pipe_policy.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/named_pipe_policy_test.cc (renamed from sandbox/src/named_pipe_policy_test.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/nt_internals.h (renamed from sandbox/src/nt_internals.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/policy_broker.cc (renamed from sandbox/src/policy_broker.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/policy_broker.h (renamed from sandbox/src/policy_broker.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/policy_engine_opcodes.cc (renamed from sandbox/src/policy_engine_opcodes.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/policy_engine_opcodes.h (renamed from sandbox/src/policy_engine_opcodes.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/policy_engine_params.h (renamed from sandbox/src/policy_engine_params.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/policy_engine_processor.cc (renamed from sandbox/src/policy_engine_processor.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/policy_engine_processor.h (renamed from sandbox/src/policy_engine_processor.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/policy_engine_unittest.cc (renamed from sandbox/src/policy_engine_unittest.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/policy_low_level.cc (renamed from sandbox/src/policy_low_level.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/policy_low_level.h (renamed from sandbox/src/policy_low_level.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/policy_low_level_unittest.cc (renamed from sandbox/src/policy_low_level_unittest.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/policy_opcodes_unittest.cc (renamed from sandbox/src/policy_opcodes_unittest.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/policy_params.h (renamed from sandbox/src/policy_params.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/policy_target.cc (renamed from sandbox/src/policy_target.cc) | 22 | ||||
-rw-r--r-- | sandbox/win/src/policy_target.h (renamed from sandbox/src/policy_target.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/policy_target_test.cc (renamed from sandbox/src/policy_target_test.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/src/process_policy_test.cc (renamed from sandbox/src/process_policy_test.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/process_thread_dispatcher.cc (renamed from sandbox/src/process_thread_dispatcher.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/process_thread_dispatcher.h (renamed from sandbox/src/process_thread_dispatcher.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/process_thread_interception.cc (renamed from sandbox/src/process_thread_interception.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/process_thread_interception.h (renamed from sandbox/src/process_thread_interception.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/process_thread_policy.cc (renamed from sandbox/src/process_thread_policy.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/process_thread_policy.h (renamed from sandbox/src/process_thread_policy.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/registry_dispatcher.cc (renamed from sandbox/src/registry_dispatcher.cc) | 22 | ||||
-rw-r--r-- | sandbox/win/src/registry_dispatcher.h (renamed from sandbox/src/registry_dispatcher.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/registry_interception.cc (renamed from sandbox/src/registry_interception.cc) | 16 | ||||
-rw-r--r-- | sandbox/win/src/registry_interception.h (renamed from sandbox/src/registry_interception.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/registry_policy.cc (renamed from sandbox/src/registry_policy.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/registry_policy.h (renamed from sandbox/src/registry_policy.h) | 8 | ||||
-rw-r--r-- | sandbox/win/src/registry_policy_test.cc (renamed from sandbox/src/registry_policy_test.cc) | 14 | ||||
-rw-r--r-- | sandbox/win/src/resolver.cc (renamed from sandbox/src/resolver.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/resolver.h (renamed from sandbox/src/resolver.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/resolver_32.cc (renamed from sandbox/src/resolver_32.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/resolver_64.cc (renamed from sandbox/src/resolver_64.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/restricted_token.cc (renamed from sandbox/src/restricted_token.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/restricted_token.h (renamed from sandbox/src/restricted_token.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/restricted_token_unittest.cc (renamed from sandbox/src/restricted_token_unittest.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/restricted_token_utils.cc (renamed from sandbox/src/restricted_token_utils.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/src/restricted_token_utils.h (renamed from sandbox/src/restricted_token_utils.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sandbox.cc (renamed from sandbox/src/sandbox.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/sandbox.h (renamed from sandbox/src/sandbox.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sandbox.vcproj (renamed from sandbox/src/sandbox.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_factory.h (renamed from sandbox/src/sandbox_factory.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_nt_types.h (renamed from sandbox/src/sandbox_nt_types.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_nt_util.cc (renamed from sandbox/src/sandbox_nt_util.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_nt_util.h (renamed from sandbox/src/sandbox_nt_util.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_policy.h (renamed from sandbox/src/sandbox_policy.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_policy_base.cc (renamed from sandbox/src/sandbox_policy_base.cc) | 44 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_policy_base.h (renamed from sandbox/src/sandbox_policy_base.h) | 14 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_types.h (renamed from sandbox/src/sandbox_types.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_utils.cc (renamed from sandbox/src/sandbox_utils.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/sandbox_utils.h (renamed from sandbox/src/sandbox_utils.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/security_level.h (renamed from sandbox/src/security_level.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/service_resolver.cc (renamed from sandbox/src/service_resolver.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/service_resolver.h (renamed from sandbox/src/service_resolver.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/service_resolver_32.cc (renamed from sandbox/src/service_resolver_32.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/service_resolver_64.cc (renamed from sandbox/src/service_resolver_64.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/service_resolver_unittest.cc (renamed from sandbox/src/service_resolver_unittest.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/shared_handles.cc (renamed from sandbox/src/shared_handles.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/shared_handles.h (renamed from sandbox/src/shared_handles.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/sharedmem_ipc_client.cc (renamed from sandbox/src/sharedmem_ipc_client.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/sharedmem_ipc_client.h (renamed from sandbox/src/sharedmem_ipc_client.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sharedmem_ipc_server.cc (renamed from sandbox/src/sharedmem_ipc_server.cc) | 12 | ||||
-rw-r--r-- | sandbox/win/src/sharedmem_ipc_server.h (renamed from sandbox/src/sharedmem_ipc_server.h) | 6 | ||||
-rw-r--r-- | sandbox/win/src/sid.cc (renamed from sandbox/src/sid.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sid.h (renamed from sandbox/src/sid.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/sid_unittest.cc (renamed from sandbox/src/sid_unittest.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/ia32_modrm_map.cpp (renamed from sandbox/src/sidestep/ia32_modrm_map.cpp) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/ia32_opcode_map.cpp (renamed from sandbox/src/sidestep/ia32_opcode_map.cpp) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/mini_disassembler.cpp (renamed from sandbox/src/sidestep/mini_disassembler.cpp) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/mini_disassembler.h (renamed from sandbox/src/sidestep/mini_disassembler.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/mini_disassembler_types.h (renamed from sandbox/src/sidestep/mini_disassembler_types.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/preamble_patcher.h (renamed from sandbox/src/sidestep/preamble_patcher.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp (renamed from sandbox/src/sidestep/preamble_patcher_with_stub.cpp) | 6 | ||||
-rw-r--r-- | sandbox/win/src/sidestep_resolver.cc (renamed from sandbox/src/sidestep_resolver.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/sidestep_resolver.h (renamed from sandbox/src/sidestep_resolver.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sync_dispatcher.cc (renamed from sandbox/src/sync_dispatcher.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/sync_dispatcher.h (renamed from sandbox/src/sync_dispatcher.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sync_interception.cc (renamed from sandbox/src/sync_interception.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/sync_interception.h (renamed from sandbox/src/sync_interception.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/sync_policy.cc (renamed from sandbox/src/sync_policy.cc) | 12 | ||||
-rw-r--r-- | sandbox/win/src/sync_policy.h (renamed from sandbox/src/sync_policy.h) | 8 | ||||
-rw-r--r-- | sandbox/win/src/sync_policy_test.cc (renamed from sandbox/src/sync_policy_test.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/src/target_interceptions.cc (renamed from sandbox/src/target_interceptions.cc) | 10 | ||||
-rw-r--r-- | sandbox/win/src/target_interceptions.h (renamed from sandbox/src/target_interceptions.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/target_process.cc (renamed from sandbox/src/target_process.cc) | 12 | ||||
-rw-r--r-- | sandbox/win/src/target_process.h (renamed from sandbox/src/target_process.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/target_services.cc (renamed from sandbox/src/target_services.cc) | 20 | ||||
-rw-r--r-- | sandbox/win/src/target_services.h (renamed from sandbox/src/target_services.h) | 4 | ||||
-rw-r--r-- | sandbox/win/src/threadpool_unittest.cc (renamed from sandbox/src/threadpool_unittest.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/unload_dll_test.cc (renamed from sandbox/src/unload_dll_test.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/src/win2k_threadpool.cc (renamed from sandbox/src/win2k_threadpool.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/win2k_threadpool.h (renamed from sandbox/src/win2k_threadpool.h) | 2 | ||||
-rw-r--r-- | sandbox/win/src/win_utils.cc (renamed from sandbox/src/win_utils.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/src/win_utils.h (renamed from sandbox/src/win_utils.h) | 0 | ||||
-rw-r--r-- | sandbox/win/src/win_utils_unittest.cc (renamed from sandbox/src/win_utils_unittest.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/src/window.cc (renamed from sandbox/src/window.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/src/window.h (renamed from sandbox/src/window.h) | 2 | ||||
-rw-r--r-- | sandbox/win/tests/common/controller.cc (renamed from sandbox/tests/common/controller.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/tests/common/controller.h (renamed from sandbox/tests/common/controller.h) | 2 | ||||
-rw-r--r-- | sandbox/win/tests/common/test_utils.cc (renamed from sandbox/tests/common/test_utils.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/tests/common/test_utils.h (renamed from sandbox/tests/common/test_utils.h) | 0 | ||||
-rw-r--r-- | sandbox/win/tests/integration_tests/integration_tests.cc (renamed from sandbox/tests/integration_tests/integration_tests.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/tests/integration_tests/integration_tests_test.cc (renamed from sandbox/tests/integration_tests/integration_tests_test.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/tests/integration_tests/sbox_integration_tests.vcproj (renamed from sandbox/tests/integration_tests/sbox_integration_tests.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/tests/unit_tests/sbox_unittests.vcproj (renamed from sandbox/tests/unit_tests/sbox_unittests.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/tests/unit_tests/unit_tests.cc (renamed from sandbox/tests/unit_tests/unit_tests.cc) | 0 | ||||
-rw-r--r-- | sandbox/win/tests/validation_tests/commands.cc (renamed from sandbox/tests/validation_tests/commands.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/tests/validation_tests/commands.h (renamed from sandbox/tests/validation_tests/commands.h) | 0 | ||||
-rw-r--r-- | sandbox/win/tests/validation_tests/sbox_validation_tests.vcproj (renamed from sandbox/tests/validation_tests/sbox_validation_tests.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/tests/validation_tests/suite.cc (renamed from sandbox/tests/validation_tests/suite.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/tests/validation_tests/unit_tests.cc (renamed from sandbox/tests/validation_tests/unit_tests.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/tools/finder/finder.cc (renamed from sandbox/tools/finder/finder.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/tools/finder/finder.h (renamed from sandbox/tools/finder/finder.h) | 4 | ||||
-rw-r--r-- | sandbox/win/tools/finder/finder.vcproj (renamed from sandbox/tools/finder/finder.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/tools/finder/finder_fs.cc (renamed from sandbox/tools/finder/finder_fs.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/tools/finder/finder_kernel.cc (renamed from sandbox/tools/finder/finder_kernel.cc) | 8 | ||||
-rw-r--r-- | sandbox/win/tools/finder/finder_registry.cc (renamed from sandbox/tools/finder/finder_registry.cc) | 6 | ||||
-rw-r--r-- | sandbox/win/tools/finder/main.cc (renamed from sandbox/tools/finder/main.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/tools/finder/ntundoc.h (renamed from sandbox/tools/finder/ntundoc.h) | 0 | ||||
-rw-r--r-- | sandbox/win/tools/launcher/launcher.cc (renamed from sandbox/tools/launcher/launcher.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/tools/launcher/launcher.vcproj (renamed from sandbox/tools/launcher/launcher.vcproj) | 0 | ||||
-rw-r--r-- | sandbox/win/wow_helper.sln (renamed from sandbox/wow_helper.sln) | 0 | ||||
-rw-r--r-- | sandbox/win/wow_helper/service64_resolver.cc (renamed from sandbox/wow_helper/service64_resolver.cc) | 4 | ||||
-rw-r--r-- | sandbox/win/wow_helper/service64_resolver.h (renamed from sandbox/wow_helper/service64_resolver.h) | 4 | ||||
-rw-r--r-- | sandbox/win/wow_helper/target_code.cc (renamed from sandbox/wow_helper/target_code.cc) | 2 | ||||
-rw-r--r-- | sandbox/win/wow_helper/target_code.h (renamed from sandbox/wow_helper/target_code.h) | 4 | ||||
-rw-r--r-- | sandbox/win/wow_helper/wow_helper.cc (renamed from sandbox/wow_helper/wow_helper.cc) | 4 | ||||
-rwxr-xr-x | sandbox/win/wow_helper/wow_helper.exe (renamed from sandbox/wow_helper/wow_helper.exe) | bin | 67072 -> 67072 bytes | |||
-rw-r--r-- | sandbox/win/wow_helper/wow_helper.pdb (renamed from sandbox/wow_helper/wow_helper.pdb) | bin | 699392 -> 699392 bytes | |||
-rw-r--r-- | sandbox/win/wow_helper/wow_helper.vcproj (renamed from sandbox/wow_helper/wow_helper.vcproj) | 0 |
215 files changed, 628 insertions, 628 deletions
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp index cd42434..1d87d11 100644 --- a/sandbox/sandbox.gyp +++ b/sandbox/sandbox.gyp @@ -9,7 +9,7 @@ 'conditions': [ [ 'OS=="win"', { 'includes': [ - 'sandbox_win.gypi', + 'win/sandbox_win.gypi', ], }], [ 'OS=="linux"', { diff --git a/sandbox/sandbox_poc/main_ui_window.cc b/sandbox/win/sandbox_poc/main_ui_window.cc index ef4d550..4d7c13a 100644 --- a/sandbox/sandbox_poc/main_ui_window.cc +++ b/sandbox/win/sandbox_poc/main_ui_window.cc @@ -12,12 +12,12 @@ #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/src/acl.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/win_utils.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" HWND MainUIWindow::list_view_ = NULL; diff --git a/sandbox/sandbox_poc/main_ui_window.h b/sandbox/win/sandbox_poc/main_ui_window.h index c70189a..c70189a 100644 --- a/sandbox/sandbox_poc/main_ui_window.h +++ b/sandbox/win/sandbox_poc/main_ui_window.h diff --git a/sandbox/sandbox_poc/pocdll/exports.h b/sandbox/win/sandbox_poc/pocdll/exports.h index 66a07d6..66a07d6 100644 --- a/sandbox/sandbox_poc/pocdll/exports.h +++ b/sandbox/win/sandbox_poc/pocdll/exports.h diff --git a/sandbox/sandbox_poc/pocdll/fs.cc b/sandbox/win/sandbox_poc/pocdll/fs.cc index 42c1006..5fab41b 100644 --- a/sandbox/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/sandbox_poc/pocdll/handles.cc b/sandbox/win/sandbox_poc/pocdll/handles.cc index 05a57b7..0568484f 100644 --- a/sandbox/sandbox_poc/pocdll/handles.cc +++ b/sandbox/win/sandbox_poc/pocdll/handles.cc @@ -2,9 +2,9 @@ // 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/tools/finder/ntundoc.h" +#include "sandbox/win/sandbox_poc/pocdll/exports.h" +#include "sandbox/win/sandbox_poc/pocdll/utils.h" +#include "sandbox/win/tools/finder/ntundoc.h" // This file contains the tests used to verify the security of handles in // the process diff --git a/sandbox/sandbox_poc/pocdll/invasive.cc b/sandbox/win/sandbox_poc/pocdll/invasive.cc index 1bac7c1..df36612 100644 --- a/sandbox/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/sandbox_poc/pocdll/network.cc b/sandbox/win/sandbox_poc/pocdll/network.cc index 09e9f33..56ab5ae 100644 --- a/sandbox/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/sandbox_poc/pocdll/pocdll.cc b/sandbox/win/sandbox_poc/pocdll/pocdll.cc index 3387064..e058f58 100644 --- a/sandbox/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/sandbox_poc/pocdll/pocdll.vcproj b/sandbox/win/sandbox_poc/pocdll/pocdll.vcproj index 8e4e31f..8e4e31f 100644 --- a/sandbox/sandbox_poc/pocdll/pocdll.vcproj +++ b/sandbox/win/sandbox_poc/pocdll/pocdll.vcproj diff --git a/sandbox/sandbox_poc/pocdll/processes_and_threads.cc b/sandbox/win/sandbox_poc/pocdll/processes_and_threads.cc index 1bef005..0a7503c 100644 --- a/sandbox/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/sandbox_poc/pocdll/registry.cc b/sandbox/win/sandbox_poc/pocdll/registry.cc index f5b249d..7394ec4 100644 --- a/sandbox/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/sandbox_poc/pocdll/spyware.cc b/sandbox/win/sandbox_poc/pocdll/spyware.cc index b9bf64a..a77fe0a 100644 --- a/sandbox/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/sandbox_poc/pocdll/utils.h b/sandbox/win/sandbox_poc/pocdll/utils.h index ae42861..ae42861 100644 --- a/sandbox/sandbox_poc/pocdll/utils.h +++ b/sandbox/win/sandbox_poc/pocdll/utils.h diff --git a/sandbox/sandbox_poc/resource.h b/sandbox/win/sandbox_poc/resource.h index 87ff920..87ff920 100644 --- a/sandbox/sandbox_poc/resource.h +++ b/sandbox/win/sandbox_poc/resource.h diff --git a/sandbox/sandbox_poc/sandbox.cc b/sandbox/win/sandbox_poc/sandbox.cc index 4dc0882..31cf308 100644 --- a/sandbox/sandbox_poc/sandbox.cc +++ b/sandbox/win/sandbox_poc/sandbox.cc @@ -5,11 +5,11 @@ #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/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" +#include "sandbox/win/sandbox_poc/main_ui_window.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" // Prototype allowed for functions to be called in the POC typedef void(__cdecl *lpfnInit)(HANDLE); diff --git a/sandbox/sandbox_poc/sandbox.h b/sandbox/win/sandbox_poc/sandbox.h index 15531ad..65c09a1 100644 --- a/sandbox/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/sandbox_poc/sandbox.ico b/sandbox/win/sandbox_poc/sandbox.ico Binary files differindex 916fa12..916fa12 100644 --- a/sandbox/sandbox_poc/sandbox.ico +++ b/sandbox/win/sandbox_poc/sandbox.ico diff --git a/sandbox/sandbox_poc/sandbox.rc b/sandbox/win/sandbox_poc/sandbox.rc index 978c96f..978c96f 100644 --- a/sandbox/sandbox_poc/sandbox.rc +++ b/sandbox/win/sandbox_poc/sandbox.rc diff --git a/sandbox/sandbox_poc/sandbox_poc.vcproj b/sandbox/win/sandbox_poc/sandbox_poc.vcproj index 5fde1cd..5fde1cd 100644 --- a/sandbox/sandbox_poc/sandbox_poc.vcproj +++ b/sandbox/win/sandbox_poc/sandbox_poc.vcproj diff --git a/sandbox/sandbox_standalone.sln b/sandbox/win/sandbox_standalone.sln index 529d20e..529d20e 100644 --- a/sandbox/sandbox_standalone.sln +++ b/sandbox/win/sandbox_standalone.sln diff --git a/sandbox/sandbox_win.gypi b/sandbox/win/sandbox_win.gypi index 86506c1..3a6ecc7 100644 --- a/sandbox/sandbox_win.gypi +++ b/sandbox/win/sandbox_win.gypi @@ -166,7 +166,7 @@ 'src/Wow64.h', ], 'include_dirs': [ - '..', + '../..', ], 'copies': [ { @@ -180,7 +180,7 @@ 'direct_dependent_settings': { 'include_dirs': [ 'src', - '..', + '../..', ], }, }, @@ -209,12 +209,12 @@ 'src/Wow64_64.cc', ], 'include_dirs': [ - '..', + '../..', ], 'direct_dependent_settings': { 'include_dirs': [ 'src', - '..', + '../..', ], }, 'defines': [ @@ -335,7 +335,7 @@ 'POCDLL_EXPORTS', ], 'include_dirs': [ - '..', + '../..', ], }, ], diff --git a/sandbox/src/Wow64.cc b/sandbox/win/src/Wow64.cc index 5098647..39108e5 100644 --- a/sandbox/src/Wow64.cc +++ b/sandbox/win/src/Wow64.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/src/wow64.h" +#include "sandbox/win/src/wow64.h" #include <sstream> @@ -10,7 +10,7 @@ #include "base/memory/scoped_ptr.h" #include "base/win/scoped_process_information.h" #include "base/win/windows_version.h" -#include "sandbox/src/target_process.h" +#include "sandbox/win/src/target_process.h" namespace { diff --git a/sandbox/src/Wow64.h b/sandbox/win/src/Wow64.h index 472297e..e9bbd53 100644 --- a/sandbox/src/Wow64.h +++ b/sandbox/win/src/Wow64.h @@ -8,7 +8,7 @@ #include <windows.h> #include "base/basictypes.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/src/Wow64_64.cc b/sandbox/win/src/Wow64_64.cc index 5218077..f03831b 100644 --- a/sandbox/src/Wow64_64.cc +++ b/sandbox/win/src/Wow64_64.cc @@ -4,7 +4,7 @@ // Wow64 implementation for native 64-bit Windows (in other words, never WOW). -#include "sandbox/src/wow64.h" +#include "sandbox/win/src/wow64.h" namespace sandbox { diff --git a/sandbox/src/acl.cc b/sandbox/win/src/acl.cc index 4869bb0..70d2a8d 100644 --- a/sandbox/src/acl.cc +++ b/sandbox/win/src/acl.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/src/acl.h" +#include "sandbox/win/src/acl.h" #include <aclapi.h> #include <sddl.h> diff --git a/sandbox/src/acl.h b/sandbox/win/src/acl.h index d452011..25d5cdb 100644 --- a/sandbox/src/acl.h +++ b/sandbox/win/src/acl.h @@ -8,7 +8,7 @@ #include <windows.h> #include "base/memory/scoped_ptr.h" -#include "sandbox/src/sid.h" +#include "sandbox/win/src/sid.h" namespace sandbox { diff --git a/sandbox/src/broker_services.cc b/sandbox/win/src/broker_services.cc index 7f46abe..80837b3 100644 --- a/sandbox/src/broker_services.cc +++ b/sandbox/win/src/broker_services.cc @@ -2,18 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/broker_services.h" +#include "sandbox/win/src/broker_services.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/threading/platform_thread.h" #include "base/win/scoped_handle.h" #include "base/win/scoped_process_information.h" -#include "sandbox/src/sandbox_policy_base.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/target_process.h" -#include "sandbox/src/win2k_threadpool.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/sandbox_policy_base.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/target_process.h" +#include "sandbox/win/src/win2k_threadpool.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/broker_services.h b/sandbox/win/src/broker_services.h index 1d9c730..0455dca 100644 --- a/sandbox/src/broker_services.h +++ b/sandbox/win/src/broker_services.h @@ -10,12 +10,12 @@ #include <set> #include "base/basictypes.h" #include "base/win/scoped_handle.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/job.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sharedmem_ipc_server.h" -#include "sandbox/src/win2k_threadpool.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/job.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sharedmem_ipc_server.h" +#include "sandbox/win/src/win2k_threadpool.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/crosscall_client.h b/sandbox/win/src/crosscall_client.h index e92c1d1..2715f96 100644 --- a/sandbox/src/crosscall_client.h +++ b/sandbox/win/src/crosscall_client.h @@ -5,8 +5,8 @@ #ifndef SANDBOX_SRC_CROSSCALL_CLIENT_H_ #define SANDBOX_SRC_CROSSCALL_CLIENT_H_ -#include "sandbox/src/crosscall_params.h" -#include "sandbox/src/sandbox.h" +#include "sandbox/win/src/crosscall_params.h" +#include "sandbox/win/src/sandbox.h" // This header defines the CrossCall(..) family of templated functions // Their purpose is to simulate the syntax of regular call but to generate diff --git a/sandbox/src/crosscall_params.h b/sandbox/win/src/crosscall_params.h index e4c047b..c5298ba 100644 --- a/sandbox/src/crosscall_params.h +++ b/sandbox/win/src/crosscall_params.h @@ -11,8 +11,8 @@ #include <memory> #include "base/basictypes.h" -#include "sandbox/src/internal_types.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/internal_types.h" +#include "sandbox/win/src/sandbox_types.h" namespace { diff --git a/sandbox/src/crosscall_server.cc b/sandbox/win/src/crosscall_server.cc index f40b677..0140580 100644 --- a/sandbox/src/crosscall_server.cc +++ b/sandbox/win/src/crosscall_server.cc @@ -5,9 +5,9 @@ #include <string> #include <vector> -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/crosscall_params.h" -#include "sandbox/src/crosscall_client.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/crosscall_params.h" +#include "sandbox/win/src/crosscall_client.h" #include "base/logging.h" // This code performs the ipc message validation. Potential security flaws diff --git a/sandbox/src/crosscall_server.h b/sandbox/win/src/crosscall_server.h index 59445f6..2a39507 100644 --- a/sandbox/src/crosscall_server.h +++ b/sandbox/win/src/crosscall_server.h @@ -9,7 +9,7 @@ #include <vector> #include "base/basictypes.h" #include "base/callback.h" -#include "sandbox/src/crosscall_params.h" +#include "sandbox/win/src/crosscall_params.h" // This is the IPC server interface for CrossCall: The IPC for the Sandbox // On the server, CrossCall needs two things: diff --git a/sandbox/src/dep.cc b/sandbox/win/src/dep.cc index 4995601..0c42050 100644 --- a/sandbox/src/dep.cc +++ b/sandbox/win/src/dep.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/src/dep.h" +#include "sandbox/win/src/dep.h" #include <windows.h> diff --git a/sandbox/src/dep.h b/sandbox/win/src/dep.h index 9016285..9016285 100644 --- a/sandbox/src/dep.h +++ b/sandbox/win/src/dep.h diff --git a/sandbox/src/dep_test.cc b/sandbox/win/src/dep_test.cc index 91d4e67..2817caa 100644 --- a/sandbox/src/dep_test.cc +++ b/sandbox/win/src/dep_test.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/dep.h" +#include "sandbox/win/src/dep.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/eat_resolver.cc b/sandbox/win/src/eat_resolver.cc index f057006..8e81820 100644 --- a/sandbox/src/eat_resolver.cc +++ b/sandbox/win/src/eat_resolver.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/eat_resolver.h" +#include "sandbox/win/src/eat_resolver.h" #include "base/win/pe_image.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace sandbox { diff --git a/sandbox/src/eat_resolver.h b/sandbox/win/src/eat_resolver.h index 0d5b3e0..5e4b6e8 100644 --- a/sandbox/src/eat_resolver.h +++ b/sandbox/win/src/eat_resolver.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_EAT_RESOLVER_H__ #include "base/basictypes.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/resolver.h" namespace sandbox { diff --git a/sandbox/src/file_policy_test.cc b/sandbox/win/src/file_policy_test.cc index df1e903..ef33101 100644 --- a/sandbox/src/file_policy_test.cc +++ b/sandbox/win/src/file_policy_test.cc @@ -9,13 +9,13 @@ #include <winioctl.h> #include "base/win/scoped_handle.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/win_utils.h" -#include "sandbox/tests/common/controller.h" -#include "sandbox/tests/common/test_utils.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/win_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/src/filesystem_dispatcher.cc b/sandbox/win/src/filesystem_dispatcher.cc index 71a6f02..22240ff 100644 --- a/sandbox/src/filesystem_dispatcher.cc +++ b/sandbox/win/src/filesystem_dispatcher.cc @@ -2,18 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/filesystem_dispatcher.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/filesystem_interception.h" -#include "sandbox/src/filesystem_policy.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/filesystem_dispatcher.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/filesystem_interception.h" +#include "sandbox/win/src/filesystem_policy.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace sandbox { diff --git a/sandbox/src/filesystem_dispatcher.h b/sandbox/win/src/filesystem_dispatcher.h index d828715..b0d9a7a 100644 --- a/sandbox/src/filesystem_dispatcher.h +++ b/sandbox/win/src/filesystem_dispatcher.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_FILESYSTEM_DISPATCHER_H__ #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy_base.h" namespace sandbox { diff --git a/sandbox/src/filesystem_interception.cc b/sandbox/win/src/filesystem_interception.cc index cdc10ff..33688f0 100644 --- a/sandbox/src/filesystem_interception.cc +++ b/sandbox/win/src/filesystem_interception.cc @@ -2,16 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/filesystem_interception.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/policy_target.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/filesystem_interception.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/policy_target.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/filesystem_interception.h b/sandbox/win/src/filesystem_interception.h index d8d9e58..2fafb44 100644 --- a/sandbox/src/filesystem_interception.h +++ b/sandbox/win/src/filesystem_interception.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_FILESYSTEM_INTERCEPTION_H__ #define SANDBOX_SRC_FILESYSTEM_INTERCEPTION_H__ diff --git a/sandbox/src/filesystem_policy.cc b/sandbox/win/src/filesystem_policy.cc index 385f4ae..b3eddab 100644 --- a/sandbox/src/filesystem_policy.cc +++ b/sandbox/win/src/filesystem_policy.cc @@ -4,16 +4,16 @@ #include <string> -#include "sandbox/src/filesystem_policy.h" +#include "sandbox/win/src/filesystem_policy.h" #include "base/logging.h" #include "base/win/scoped_handle.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/filesystem_policy.h b/sandbox/win/src/filesystem_policy.h index 5010a9f..bcedb63 100644 --- a/sandbox/src/filesystem_policy.h +++ b/sandbox/win/src/filesystem_policy.h @@ -8,10 +8,10 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/sandbox_policy.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/sandbox_policy.h" namespace sandbox { diff --git a/sandbox/src/handle_closer.cc b/sandbox/win/src/handle_closer.cc index d79f2c1..fc72835 100644 --- a/sandbox/src/handle_closer.cc +++ b/sandbox/win/src/handle_closer.cc @@ -2,16 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/handle_closer.h" +#include "sandbox/win/src/handle_closer.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/win/windows_version.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/internal_types.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/process_thread_interception.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/internal_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/process_thread_interception.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/handle_closer.h b/sandbox/win/src/handle_closer.h index f680169..b43e50f 100644 --- a/sandbox/src/handle_closer.h +++ b/sandbox/win/src/handle_closer.h @@ -10,9 +10,9 @@ #include "base/basictypes.h" #include "base/string16.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/target_process.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/target_process.h" namespace sandbox { diff --git a/sandbox/src/handle_closer_agent.cc b/sandbox/win/src/handle_closer_agent.cc index 2b5ac97..be262e8 100644 --- a/sandbox/src/handle_closer_agent.cc +++ b/sandbox/win/src/handle_closer_agent.cc @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/handle_closer_agent.h" +#include "sandbox/win/src/handle_closer_agent.h" #include "base/logging.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/handle_closer_agent.h b/sandbox/win/src/handle_closer_agent.h index c74987c..602f327 100644 --- a/sandbox/src/handle_closer_agent.h +++ b/sandbox/win/src/handle_closer_agent.h @@ -7,8 +7,8 @@ #include "base/basictypes.h" #include "base/string16.h" -#include "sandbox/src/handle_closer.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/handle_closer.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/src/handle_closer_test.cc b/sandbox/win/src/handle_closer_test.cc index 81b6db2..b35ff5e 100644 --- a/sandbox/src/handle_closer_test.cc +++ b/sandbox/win/src/handle_closer_test.cc @@ -4,11 +4,11 @@ #include "base/stringprintf.h" #include "base/win/scoped_handle.h" -#include "sandbox/src/handle_closer_agent.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/handle_closer_agent.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/target_services.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace { diff --git a/sandbox/src/handle_dispatcher.cc b/sandbox/win/src/handle_dispatcher.cc index 7a18cee..26b8fc3 100644 --- a/sandbox/src/handle_dispatcher.cc +++ b/sandbox/win/src/handle_dispatcher.cc @@ -2,18 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/handle_dispatcher.h" +#include "sandbox/win/src/handle_dispatcher.h" #include "base/win/scoped_handle.h" -#include "sandbox/src/handle_interception.h" -#include "sandbox/src/handle_policy.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sandbox_utils.h" +#include "sandbox/win/src/handle_interception.h" +#include "sandbox/win/src/handle_policy.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_utils.h" namespace sandbox { diff --git a/sandbox/src/handle_dispatcher.h b/sandbox/win/src/handle_dispatcher.h index c1abc28..a3dc6cf 100644 --- a/sandbox/src/handle_dispatcher.h +++ b/sandbox/win/src/handle_dispatcher.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_HANDLE_DISPATCHER_H_ #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy_base.h" namespace sandbox { diff --git a/sandbox/src/handle_interception.cc b/sandbox/win/src/handle_interception.cc index 0f7b9f8..af0bebc 100644 --- a/sandbox/src/handle_interception.cc +++ b/sandbox/win/src/handle_interception.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/handle_interception.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/handle_interception.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/handle_interception.h b/sandbox/win/src/handle_interception.h index 543c7ba..6f60811 100644 --- a/sandbox/src/handle_interception.h +++ b/sandbox/win/src/handle_interception.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_HANDLE_INTERCEPTION_H_ #define SANDBOX_SRC_HANDLE_INTERCEPTION_H_ diff --git a/sandbox/src/handle_policy.cc b/sandbox/win/src/handle_policy.cc index 355dda8..eeeea7b 100644 --- a/sandbox/src/handle_policy.cc +++ b/sandbox/win/src/handle_policy.cc @@ -2,17 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/handle_policy.h" +#include "sandbox/win/src/handle_policy.h" #include <string> #include "base/win/scoped_handle.h" -#include "sandbox/src/broker_services.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sandbox_utils.h" +#include "sandbox/win/src/broker_services.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_utils.h" namespace sandbox { diff --git a/sandbox/src/handle_policy.h b/sandbox/win/src/handle_policy.h index c3b7156..d91a039 100644 --- a/sandbox/src/handle_policy.h +++ b/sandbox/win/src/handle_policy.h @@ -8,9 +8,9 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/sandbox_policy.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/sandbox_policy.h" namespace sandbox { diff --git a/sandbox/src/handle_policy_test.cc b/sandbox/win/src/handle_policy_test.cc index 05eb39b..65efbc85 100644 --- a/sandbox/src/handle_policy_test.cc +++ b/sandbox/win/src/handle_policy_test.cc @@ -3,13 +3,13 @@ // found in the LICENSE file. #include "base/stringprintf.h" -#include "sandbox/src/handle_policy.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/win_utils.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/handle_policy.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/win_utils.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/handle_table.cc b/sandbox/win/src/handle_table.cc index c7fcf0a..a497f74 100644 --- a/sandbox/src/handle_table.cc +++ b/sandbox/win/src/handle_table.cc @@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/handle_table.h" +#include "sandbox/win/src/handle_table.h" #include <algorithm> #include <cstdlib> #include "base/memory/scoped_ptr.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/handle_table.h b/sandbox/win/src/handle_table.h index e2b2615..acdc88d 100644 --- a/sandbox/src/handle_table.h +++ b/sandbox/win/src/handle_table.h @@ -10,7 +10,7 @@ #include "base/basictypes.h" #include "base/string16.h" -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/nt_internals.h" namespace sandbox { diff --git a/sandbox/src/integrity_level_test.cc b/sandbox/win/src/integrity_level_test.cc index c6e0b64..67ea9de 100644 --- a/sandbox/src/integrity_level_test.cc +++ b/sandbox/win/src/integrity_level_test.cc @@ -7,10 +7,10 @@ #include "base/win/windows_version.h" #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/src/interception.cc b/sandbox/win/src/interception.cc index a850c6e..929b621 100644 --- a/sandbox/src/interception.cc +++ b/sandbox/win/src/interception.cc @@ -7,20 +7,20 @@ #include <set> -#include "sandbox/src/interception.h" +#include "sandbox/win/src/interception.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/win/pe_image.h" #include "base/win/windows_version.h" -#include "sandbox/src/interception_internal.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/service_resolver.h" -#include "sandbox/src/target_interceptions.h" -#include "sandbox/src/target_process.h" -#include "sandbox/src/wow64.h" +#include "sandbox/win/src/interception_internal.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/service_resolver.h" +#include "sandbox/win/src/target_interceptions.h" +#include "sandbox/win/src/target_process.h" +#include "sandbox/win/src/wow64.h" namespace { diff --git a/sandbox/src/interception.h b/sandbox/win/src/interception.h index c02b0ff..02fc592 100644 --- a/sandbox/src/interception.h +++ b/sandbox/win/src/interception.h @@ -14,7 +14,7 @@ #include "base/basictypes.h" #include "base/gtest_prod_util.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/src/interception_agent.cc b/sandbox/win/src/interception_agent.cc index b40364f..b2a66c4 100644 --- a/sandbox/src/interception_agent.cc +++ b/sandbox/win/src/interception_agent.cc @@ -5,13 +5,13 @@ // For information about interceptions as a whole see // http://dev.chromium.org/developers/design-documents/sandbox . -#include "sandbox/src/interception_agent.h" +#include "sandbox/win/src/interception_agent.h" -#include "sandbox/src/interception_internal.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/eat_resolver.h" -#include "sandbox/src/sidestep_resolver.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/interception_internal.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/eat_resolver.h" +#include "sandbox/win/src/sidestep_resolver.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace { diff --git a/sandbox/src/interception_agent.h b/sandbox/win/src/interception_agent.h index 10679dd..2762c61 100644 --- a/sandbox/src/interception_agent.h +++ b/sandbox/win/src/interception_agent.h @@ -10,8 +10,8 @@ #define SANDBOX_SRC_INTERCEPTION_AGENT_H__ #include "base/basictypes.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/src/interception_internal.h b/sandbox/win/src/interception_internal.h index f3c401c..810478a 100644 --- a/sandbox/src/interception_internal.h +++ b/sandbox/win/src/interception_internal.h @@ -9,7 +9,7 @@ #ifndef SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ #define SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/src/interception_unittest.cc b/sandbox/win/src/interception_unittest.cc index a0dd98d..cc76767 100644 --- a/sandbox/src/interception_unittest.cc +++ b/sandbox/win/src/interception_unittest.cc @@ -9,10 +9,10 @@ #include <windows.h> #include "base/memory/scoped_ptr.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/interception_internal.h" -#include "sandbox/src/target_process.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/interception_internal.h" +#include "sandbox/win/src/target_process.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/interceptors.h b/sandbox/win/src/interceptors.h index 67b0900..43126d0 100644 --- a/sandbox/src/interceptors.h +++ b/sandbox/win/src/interceptors.h @@ -6,7 +6,7 @@ #define SANDBOX_SRC_INTERCEPTORS_H_ #if defined(_WIN64) -#include "sandbox/src/interceptors_64.h" +#include "sandbox/win/src/interceptors_64.h" #endif namespace sandbox { diff --git a/sandbox/src/interceptors_64.cc b/sandbox/win/src/interceptors_64.cc index c068010..30843fd 100644 --- a/sandbox/src/interceptors_64.cc +++ b/sandbox/win/src/interceptors_64.cc @@ -2,18 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/interceptors_64.h" - -#include "sandbox/src/interceptors.h" -#include "sandbox/src/filesystem_interception.h" -#include "sandbox/src/named_pipe_interception.h" -#include "sandbox/src/policy_target.h" -#include "sandbox/src/process_thread_interception.h" -#include "sandbox/src/registry_interception.h" -#include "sandbox/src/sandbox_nt_types.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sync_interception.h" -#include "sandbox/src/target_interceptions.h" +#include "sandbox/win/src/interceptors_64.h" + +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/filesystem_interception.h" +#include "sandbox/win/src/named_pipe_interception.h" +#include "sandbox/win/src/policy_target.h" +#include "sandbox/win/src/process_thread_interception.h" +#include "sandbox/win/src/registry_interception.h" +#include "sandbox/win/src/sandbox_nt_types.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sync_interception.h" +#include "sandbox/win/src/target_interceptions.h" namespace sandbox { diff --git a/sandbox/src/interceptors_64.h b/sandbox/win/src/interceptors_64.h index 50355a0..87c1c50 100644 --- a/sandbox/src/interceptors_64.h +++ b/sandbox/win/src/interceptors_64.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_INTERCEPTORS_64_H_ #define SANDBOX_SRC_INTERCEPTORS_64_H_ diff --git a/sandbox/src/internal_types.h b/sandbox/win/src/internal_types.h index db969aa..db969aa 100644 --- a/sandbox/src/internal_types.h +++ b/sandbox/win/src/internal_types.h diff --git a/sandbox/src/ipc_ping_test.cc b/sandbox/win/src/ipc_ping_test.cc index 410fd6a..64e3de6 100644 --- a/sandbox/src/ipc_ping_test.cc +++ b/sandbox/win/src/ipc_ping_test.cc @@ -3,10 +3,10 @@ // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/target_services.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/src/ipc_tags.h b/sandbox/win/src/ipc_tags.h index 4e3a806..4e3a806 100644 --- a/sandbox/src/ipc_tags.h +++ b/sandbox/win/src/ipc_tags.h diff --git a/sandbox/src/ipc_unittest.cc b/sandbox/win/src/ipc_unittest.cc index e1fb7c1..daca7bb 100644 --- a/sandbox/src/ipc_unittest.cc +++ b/sandbox/win/src/ipc_unittest.cc @@ -3,10 +3,10 @@ // found in the LICENSE file. #include "base/basictypes.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/sharedmem_ipc_server.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/sharedmem_ipc_server.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/job.cc b/sandbox/win/src/job.cc index 8ed3a77..060ffa52 100644 --- a/sandbox/src/job.cc +++ b/sandbox/win/src/job.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/job.h" +#include "sandbox/win/src/job.h" #include "base/win/windows_version.h" -#include "sandbox/src/restricted_token.h" +#include "sandbox/win/src/restricted_token.h" namespace sandbox { diff --git a/sandbox/src/job.h b/sandbox/win/src/job.h index a3f6738..487722f 100644 --- a/sandbox/src/job.h +++ b/sandbox/win/src/job.h @@ -6,7 +6,7 @@ #define SANDBOX_SRC_JOB_H_ #include "base/basictypes.h" -#include "sandbox/src/restricted_token_utils.h" +#include "sandbox/win/src/restricted_token_utils.h" namespace sandbox { diff --git a/sandbox/src/job_unittest.cc b/sandbox/win/src/job_unittest.cc index f386f1f..8d84b78 100644 --- a/sandbox/src/job_unittest.cc +++ b/sandbox/win/src/job_unittest.cc @@ -5,7 +5,7 @@ // This file contains unit tests for the job object. #include "base/win/scoped_process_information.h" -#include "sandbox/src/job.h" +#include "sandbox/win/src/job.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/named_pipe_dispatcher.cc b/sandbox/win/src/named_pipe_dispatcher.cc index 0569784..aae1096 100644 --- a/sandbox/src/named_pipe_dispatcher.cc +++ b/sandbox/win/src/named_pipe_dispatcher.cc @@ -2,19 +2,19 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/named_pipe_dispatcher.h" +#include "sandbox/win/src/named_pipe_dispatcher.h" #include "base/basictypes.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/named_pipe_interception.h" -#include "sandbox/src/named_pipe_policy.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/named_pipe_interception.h" +#include "sandbox/win/src/named_pipe_policy.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox.h" namespace sandbox { diff --git a/sandbox/src/named_pipe_dispatcher.h b/sandbox/win/src/named_pipe_dispatcher.h index 87a68b6..0d03b2e 100644 --- a/sandbox/src/named_pipe_dispatcher.h +++ b/sandbox/win/src/named_pipe_dispatcher.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_NAMED_PIPE_DISPATCHER_H__ #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy_base.h" namespace sandbox { diff --git a/sandbox/src/named_pipe_interception.cc b/sandbox/win/src/named_pipe_interception.cc index 4599441..f437b1c 100644 --- a/sandbox/src/named_pipe_interception.cc +++ b/sandbox/win/src/named_pipe_interception.cc @@ -2,16 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/named_pipe_interception.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/policy_target.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/named_pipe_interception.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/policy_target.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/named_pipe_interception.h b/sandbox/win/src/named_pipe_interception.h index 5e2b334..fdbee19 100644 --- a/sandbox/src/named_pipe_interception.h +++ b/sandbox/win/src/named_pipe_interception.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_NAMED_PIPE_INTERCEPTION_H__ #define SANDBOX_SRC_NAMED_PIPE_INTERCEPTION_H__ diff --git a/sandbox/src/named_pipe_policy.cc b/sandbox/win/src/named_pipe_policy.cc index 00182cf..470e823 100644 --- a/sandbox/src/named_pipe_policy.cc +++ b/sandbox/win/src/named_pipe_policy.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/named_pipe_policy.h" +#include "sandbox/win/src/named_pipe_policy.h" #include <string> -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_types.h" namespace { diff --git a/sandbox/src/named_pipe_policy.h b/sandbox/win/src/named_pipe_policy.h index 2b6b09d..1ba07b8 100644 --- a/sandbox/src/named_pipe_policy.h +++ b/sandbox/win/src/named_pipe_policy.h @@ -8,9 +8,9 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/sandbox_policy.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/sandbox_policy.h" namespace sandbox { diff --git a/sandbox/src/named_pipe_policy_test.cc b/sandbox/win/src/named_pipe_policy_test.cc index 11ddbc3..b89a191 100644 --- a/sandbox/src/named_pipe_policy_test.cc +++ b/sandbox/win/src/named_pipe_policy_test.cc @@ -3,10 +3,10 @@ // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/src/nt_internals.h b/sandbox/win/src/nt_internals.h index fe4fcd6..fe4fcd6 100644 --- a/sandbox/src/nt_internals.h +++ b/sandbox/win/src/nt_internals.h diff --git a/sandbox/src/policy_broker.cc b/sandbox/win/src/policy_broker.cc index 61c64c6..210eb47 100644 --- a/sandbox/src/policy_broker.cc +++ b/sandbox/win/src/policy_broker.cc @@ -4,20 +4,20 @@ #include <map> -#include "sandbox/src/policy_broker.h" +#include "sandbox/win/src/policy_broker.h" #include "base/logging.h" #include "base/win/pe_image.h" #include "base/win/windows_version.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/policy_target.h" -#include "sandbox/src/process_thread_interception.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_nt_types.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/target_process.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/policy_target.h" +#include "sandbox/win/src/process_thread_interception.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_nt_types.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/target_process.h" // This code executes on the broker side, as a callback from the policy on the // target side (the child). diff --git a/sandbox/src/policy_broker.h b/sandbox/win/src/policy_broker.h index fd2602a..1c5cc26 100644 --- a/sandbox/src/policy_broker.h +++ b/sandbox/win/src/policy_broker.h @@ -5,7 +5,7 @@ #ifndef SANDBOX_SRC_POLICY_BROKER_H_ #define SANDBOX_SRC_POLICY_BROKER_H_ -#include "sandbox/src/interception.h" +#include "sandbox/win/src/interception.h" namespace sandbox { diff --git a/sandbox/src/policy_engine_opcodes.cc b/sandbox/win/src/policy_engine_opcodes.cc index 8d9ceef..e8a39ed 100644 --- a/sandbox/src/policy_engine_opcodes.cc +++ b/sandbox/win/src/policy_engine_opcodes.cc @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_engine_opcodes.h" #include "base/basictypes.h" -#include "sandbox/src/sandbox_nt_types.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_nt_types.h" +#include "sandbox/win/src/sandbox_types.h" namespace { const unsigned short kMaxUniStrSize = 0xfffc; diff --git a/sandbox/src/policy_engine_opcodes.h b/sandbox/win/src/policy_engine_opcodes.h index 6821413..f74ce31 100644 --- a/sandbox/src/policy_engine_opcodes.h +++ b/sandbox/win/src/policy_engine_opcodes.h @@ -5,7 +5,7 @@ #ifndef SANDBOX_SRC_POLICY_ENGINE_OPCODES_H__ #define SANDBOX_SRC_POLICY_ENGINE_OPCODES_H__ -#include "sandbox/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_params.h" #include "base/basictypes.h" // The low-level policy is implemented using the concept of policy 'opcodes'. diff --git a/sandbox/src/policy_engine_params.h b/sandbox/win/src/policy_engine_params.h index ecf454f..a1566f3 100644 --- a/sandbox/src/policy_engine_params.h +++ b/sandbox/win/src/policy_engine_params.h @@ -6,9 +6,9 @@ #define SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__ #include "base/basictypes.h" -#include "sandbox/src/internal_types.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/internal_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_nt_util.h" // This header defines the classes that allow the low level policy to select // the input parameters. In order to better make sense of this header is diff --git a/sandbox/src/policy_engine_processor.cc b/sandbox/win/src/policy_engine_processor.cc index d0455d0..a35eabf 100644 --- a/sandbox/src/policy_engine_processor.cc +++ b/sandbox/win/src/policy_engine_processor.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/src/policy_engine_processor.h" +#include "sandbox/win/src/policy_engine_processor.h" namespace sandbox { diff --git a/sandbox/src/policy_engine_processor.h b/sandbox/win/src/policy_engine_processor.h index 3327e36..85c999e 100644 --- a/sandbox/src/policy_engine_processor.h +++ b/sandbox/win/src/policy_engine_processor.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_POLICY_ENGINE_PROCESSOR_H__ #include "base/basictypes.h" -#include "sandbox/src/policy_engine_params.h" -#include "sandbox/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_opcodes.h" namespace sandbox { diff --git a/sandbox/src/policy_engine_unittest.cc b/sandbox/win/src/policy_engine_unittest.cc index f988ccc..e6c3435 100644 --- a/sandbox/src/policy_engine_unittest.cc +++ b/sandbox/win/src/policy_engine_unittest.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/src/policy_engine_params.h" -#include "sandbox/src/policy_engine_processor.h" +#include "sandbox/win/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_processor.h" #include "testing/gtest/include/gtest/gtest.h" #define POLPARAMS_BEGIN(x) sandbox::ParameterSet x[] = { diff --git a/sandbox/src/policy_low_level.cc b/sandbox/win/src/policy_low_level.cc index 401f2e1..8431bc0 100644 --- a/sandbox/src/policy_low_level.cc +++ b/sandbox/win/src/policy_low_level.cc @@ -5,7 +5,7 @@ #include <string> #include <map> -#include "sandbox/src/policy_low_level.h" +#include "sandbox/win/src/policy_low_level.h" #include "base/basictypes.h" namespace { diff --git a/sandbox/src/policy_low_level.h b/sandbox/win/src/policy_low_level.h index 5bf6a46..025a133 100644 --- a/sandbox/src/policy_low_level.h +++ b/sandbox/win/src/policy_low_level.h @@ -8,9 +8,9 @@ #include <list> #include "base/basictypes.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_params.h" -#include "sandbox/src/policy_engine_opcodes.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_opcodes.h" // Low level policy classes. // Built on top of the PolicyOpcode and OpcodeFatory, the low level policy diff --git a/sandbox/src/policy_low_level_unittest.cc b/sandbox/win/src/policy_low_level_unittest.cc index 20d1777..4a2cf4b 100644 --- a/sandbox/src/policy_low_level_unittest.cc +++ b/sandbox/win/src/policy_low_level_unittest.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/policy_engine_params.h" -#include "sandbox/src/policy_engine_processor.h" -#include "sandbox/src/policy_low_level.h" +#include "sandbox/win/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_processor.h" +#include "sandbox/win/src/policy_low_level.h" #include "testing/gtest/include/gtest/gtest.h" #define POLPARAMS_BEGIN(x) sandbox::ParameterSet x[] = { diff --git a/sandbox/src/policy_opcodes_unittest.cc b/sandbox/win/src/policy_opcodes_unittest.cc index 37ccd80..e1a7ad6 100644 --- a/sandbox/src/policy_opcodes_unittest.cc +++ b/sandbox/win/src/policy_opcodes_unittest.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sandbox_nt_types.h" -#include "sandbox/src/policy_engine_params.h" -#include "sandbox/src/policy_engine_opcodes.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_nt_types.h" +#include "sandbox/win/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_opcodes.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/sandbox/src/policy_params.h b/sandbox/win/src/policy_params.h index e1fb3fc..686d08f 100644 --- a/sandbox/src/policy_params.h +++ b/sandbox/win/src/policy_params.h @@ -5,7 +5,7 @@ #ifndef SANDBOX_SRC_POLICY_PARAMS_H__ #define SANDBOX_SRC_POLICY_PARAMS_H__ -#include "sandbox/src/policy_engine_params.h" +#include "sandbox/win/src/policy_engine_params.h" namespace sandbox { diff --git a/sandbox/src/policy_target.cc b/sandbox/win/src/policy_target.cc index aa69892..84b7203 100644 --- a/sandbox/src/policy_target.cc +++ b/sandbox/win/src/policy_target.cc @@ -2,17 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/policy_target.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_processor.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/policy_target.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_processor.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/policy_target.h b/sandbox/win/src/policy_target.h index 4a77b47..8a2b437 100644 --- a/sandbox/src/policy_target.h +++ b/sandbox/win/src/policy_target.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_POLICY_TARGET_H__ #define SANDBOX_SRC_POLICY_TARGET_H__ diff --git a/sandbox/src/policy_target_test.cc b/sandbox/win/src/policy_target_test.cc index aef7548..ee28260 100644 --- a/sandbox/src/policy_target_test.cc +++ b/sandbox/win/src/policy_target_test.cc @@ -4,11 +4,11 @@ #include "base/win/scoped_process_information.h" #include "base/win/windows_version.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/target_services.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/process_policy_test.cc b/sandbox/win/src/process_policy_test.cc index 783446e..5e78a8a 100644 --- a/sandbox/src/process_policy_test.cc +++ b/sandbox/win/src/process_policy_test.cc @@ -8,10 +8,10 @@ #include "base/sys_string_conversions.h" #include "base/win/scoped_handle.h" #include "base/win/scoped_process_information.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace { diff --git a/sandbox/src/process_thread_dispatcher.cc b/sandbox/win/src/process_thread_dispatcher.cc index cc137a5..2df203a 100644 --- a/sandbox/src/process_thread_dispatcher.cc +++ b/sandbox/win/src/process_thread_dispatcher.cc @@ -2,19 +2,19 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/process_thread_dispatcher.h" +#include "sandbox/win/src/process_thread_dispatcher.h" #include "base/basictypes.h" #include "base/logging.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/process_thread_interception.h" -#include "sandbox/src/process_thread_policy.h" -#include "sandbox/src/sandbox.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/process_thread_interception.h" +#include "sandbox/win/src/process_thread_policy.h" +#include "sandbox/win/src/sandbox.h" namespace { diff --git a/sandbox/src/process_thread_dispatcher.h b/sandbox/win/src/process_thread_dispatcher.h index 45fad03..1cc5743 100644 --- a/sandbox/src/process_thread_dispatcher.h +++ b/sandbox/win/src/process_thread_dispatcher.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy_base.h" namespace sandbox { diff --git a/sandbox/src/process_thread_interception.cc b/sandbox/win/src/process_thread_interception.cc index e847908..cb1017b 100644 --- a/sandbox/src/process_thread_interception.cc +++ b/sandbox/win/src/process_thread_interception.cc @@ -2,16 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/process_thread_interception.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/policy_target.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/process_thread_interception.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/policy_target.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/process_thread_interception.h b/sandbox/win/src/process_thread_interception.h index 37c2c14..7d2d533 100644 --- a/sandbox/src/process_thread_interception.h +++ b/sandbox/win/src/process_thread_interception.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_PROCESS_THREAD_INTERCEPTION_H__ #define SANDBOX_SRC_PROCESS_THREAD_INTERCEPTION_H__ diff --git a/sandbox/src/process_thread_policy.cc b/sandbox/win/src/process_thread_policy.cc index ca00916..9493b9e 100644 --- a/sandbox/src/process_thread_policy.cc +++ b/sandbox/win/src/process_thread_policy.cc @@ -2,17 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/process_thread_policy.h" +#include "sandbox/win/src/process_thread_policy.h" #include <string> #include "base/memory/scoped_ptr.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/process_thread_policy.h b/sandbox/win/src/process_thread_policy.h index 78323cc..c35c52b5 100644 --- a/sandbox/src/process_thread_policy.h +++ b/sandbox/win/src/process_thread_policy.h @@ -7,11 +7,11 @@ #include <string> -#include "sandbox/src/policy_low_level.h" +#include "sandbox/win/src/policy_low_level.h" #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy.h" namespace sandbox { diff --git a/sandbox/src/registry_dispatcher.cc b/sandbox/win/src/registry_dispatcher.cc index f86c76a..f4dc5f5 100644 --- a/sandbox/src/registry_dispatcher.cc +++ b/sandbox/win/src/registry_dispatcher.cc @@ -2,20 +2,20 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/registry_dispatcher.h" +#include "sandbox/win/src/registry_dispatcher.h" #include "base/win/scoped_handle.h" #include "base/win/windows_version.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/registry_interception.h" -#include "sandbox/src/registry_policy.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/registry_interception.h" +#include "sandbox/win/src/registry_policy.h" namespace { diff --git a/sandbox/src/registry_dispatcher.h b/sandbox/win/src/registry_dispatcher.h index 6d1390d..782a070 100644 --- a/sandbox/src/registry_dispatcher.h +++ b/sandbox/win/src/registry_dispatcher.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_REGISTRY_DISPATCHER_H_ #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy_base.h" namespace sandbox { diff --git a/sandbox/src/registry_interception.cc b/sandbox/win/src/registry_interception.cc index 3cabf47..936d4ac 100644 --- a/sandbox/src/registry_interception.cc +++ b/sandbox/win/src/registry_interception.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/registry_interception.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/registry_interception.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/registry_interception.h b/sandbox/win/src/registry_interception.h index 7036c49..c3cbde0 100644 --- a/sandbox/src/registry_interception.h +++ b/sandbox/win/src/registry_interception.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_REGISTRY_INTERCEPTION_H__ #define SANDBOX_SRC_REGISTRY_INTERCEPTION_H__ diff --git a/sandbox/src/registry_policy.cc b/sandbox/win/src/registry_policy.cc index 497636f..55f3bcd 100644 --- a/sandbox/src/registry_policy.cc +++ b/sandbox/win/src/registry_policy.cc @@ -4,15 +4,15 @@ #include <string> -#include "sandbox/src/registry_policy.h" +#include "sandbox/win/src/registry_policy.h" #include "base/logging.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/win_utils.h" namespace { diff --git a/sandbox/src/registry_policy.h b/sandbox/win/src/registry_policy.h index da41d1c..8badde2 100644 --- a/sandbox/src/registry_policy.h +++ b/sandbox/win/src/registry_policy.h @@ -8,10 +8,10 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/sandbox_policy.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/sandbox_policy.h" namespace sandbox { diff --git a/sandbox/src/registry_policy_test.cc b/sandbox/win/src/registry_policy_test.cc index cdc1577..d8ee34b 100644 --- a/sandbox/src/registry_policy_test.cc +++ b/sandbox/win/src/registry_policy_test.cc @@ -5,13 +5,13 @@ #include <shlobj.h> #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/src/registry_policy.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/win_utils.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/registry_policy.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/win_utils.h" +#include "sandbox/win/tests/common/controller.h" namespace { diff --git a/sandbox/src/resolver.cc b/sandbox/win/src/resolver.cc index 295bfb2..6616fa5 100644 --- a/sandbox/src/resolver.cc +++ b/sandbox/win/src/resolver.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/resolver.h" #include "base/win/pe_image.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace sandbox { diff --git a/sandbox/src/resolver.h b/sandbox/win/src/resolver.h index 7ec0bf5..85f1e91 100644 --- a/sandbox/src/resolver.h +++ b/sandbox/win/src/resolver.h @@ -7,7 +7,7 @@ // http://dev.chromium.org/developers/design-documents/sandbox . #include "base/basictypes.h" -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/nt_internals.h" #ifndef SANDBOX_SRC_RESOLVER_H__ #define SANDBOX_SRC_RESOLVER_H__ diff --git a/sandbox/src/resolver_32.cc b/sandbox/win/src/resolver_32.cc index ae5c168..e5d7be3 100644 --- a/sandbox/src/resolver_32.cc +++ b/sandbox/win/src/resolver_32.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/resolver.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace { diff --git a/sandbox/src/resolver_64.cc b/sandbox/win/src/resolver_64.cc index 96d039b..ca58b20 100644 --- a/sandbox/src/resolver_64.cc +++ b/sandbox/win/src/resolver_64.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/resolver.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace { diff --git a/sandbox/src/restricted_token.cc b/sandbox/win/src/restricted_token.cc index bac8816..8a096a1 100644 --- a/sandbox/src/restricted_token.cc +++ b/sandbox/win/src/restricted_token.cc @@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/restricted_token.h" +#include "sandbox/win/src/restricted_token.h" #include <vector> #include "base/logging.h" -#include "sandbox/src/acl.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/acl.h" +#include "sandbox/win/src/win_utils.h" namespace sandbox { diff --git a/sandbox/src/restricted_token.h b/sandbox/win/src/restricted_token.h index 88bd70f..4327856 100644 --- a/sandbox/src/restricted_token.h +++ b/sandbox/win/src/restricted_token.h @@ -9,9 +9,9 @@ #include <vector> #include "base/basictypes.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/src/security_level.h" -#include "sandbox/src/sid.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/src/security_level.h" +#include "sandbox/win/src/sid.h" // Flags present in the Group SID list. These 2 flags are new in Windows Vista #ifndef SE_GROUP_INTEGRITY diff --git a/sandbox/src/restricted_token_unittest.cc b/sandbox/win/src/restricted_token_unittest.cc index 310b73f..df35f1c 100644 --- a/sandbox/src/restricted_token_unittest.cc +++ b/sandbox/win/src/restricted_token_unittest.cc @@ -8,8 +8,8 @@ #include <atlbase.h> #include <atlsecurity.h> #include <vector> -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/sid.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/sid.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/restricted_token_utils.cc b/sandbox/win/src/restricted_token_utils.cc index df30b40..5f1a246 100644 --- a/sandbox/src/restricted_token_utils.cc +++ b/sandbox/win/src/restricted_token_utils.cc @@ -6,16 +6,16 @@ #include <sddl.h> #include <vector> -#include "sandbox/src/restricted_token_utils.h" +#include "sandbox/win/src/restricted_token_utils.h" #include "base/logging.h" #include "base/win/scoped_handle.h" #include "base/win/scoped_process_information.h" #include "base/win/windows_version.h" -#include "sandbox/src/job.h" -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/security_level.h" -#include "sandbox/src/sid.h" +#include "sandbox/win/src/job.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/security_level.h" +#include "sandbox/win/src/sid.h" namespace sandbox { diff --git a/sandbox/src/restricted_token_utils.h b/sandbox/win/src/restricted_token_utils.h index 0aade8b..f2a280a 100644 --- a/sandbox/src/restricted_token_utils.h +++ b/sandbox/win/src/restricted_token_utils.h @@ -8,8 +8,8 @@ #include <accctrl.h> #include <windows.h> -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/security_level.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/security_level.h" // Contains the utility functions to be able to create restricted tokens based // on a security profiles. diff --git a/sandbox/src/sandbox.cc b/sandbox/win/src/sandbox.cc index f70c702..3344ba4 100644 --- a/sandbox/src/sandbox.cc +++ b/sandbox/win/src/sandbox.cc @@ -4,10 +4,10 @@ #include <stdio.h> #include <windows.h> -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/broker_services.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/broker_services.h" +#include "sandbox/win/src/target_services.h" #if defined(_WIN64) && !defined(NACL_WIN64) // We allow building this code for Win64 as part of NaCl to enable development diff --git a/sandbox/src/sandbox.h b/sandbox/win/src/sandbox.h index 18c05ce..ee4b7b0 100644 --- a/sandbox/src/sandbox.h +++ b/sandbox/win/src/sandbox.h @@ -22,8 +22,8 @@ #include <windows.h> #include "base/basictypes.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sandbox_types.h" // sandbox: Google User-Land Application Sandbox namespace sandbox { diff --git a/sandbox/src/sandbox.vcproj b/sandbox/win/src/sandbox.vcproj index f206e01..f206e01 100644 --- a/sandbox/src/sandbox.vcproj +++ b/sandbox/win/src/sandbox.vcproj diff --git a/sandbox/src/sandbox_factory.h b/sandbox/win/src/sandbox_factory.h index b52bcb6..7a0280f 100644 --- a/sandbox/src/sandbox_factory.h +++ b/sandbox/win/src/sandbox_factory.h @@ -5,7 +5,7 @@ #ifndef SANDBOX_SRC_SANDBOX_FACTORY_H__ #define SANDBOX_SRC_SANDBOX_FACTORY_H__ -#include "sandbox/src/sandbox.h" +#include "sandbox/win/src/sandbox.h" // SandboxFactory is a set of static methods to get access to the broker // or target services object. Only one of the two methods (GetBrokerServices, diff --git a/sandbox/src/sandbox_nt_types.h b/sandbox/win/src/sandbox_nt_types.h index d0d24f8..1303ac2 100644 --- a/sandbox/src/sandbox_nt_types.h +++ b/sandbox/win/src/sandbox_nt_types.h @@ -5,7 +5,7 @@ #ifndef SANDBOX_SRC_SANDBOX_NT_TYPES_H__ #define SANDBOX_SRC_SANDBOX_NT_TYPES_H__ -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/nt_internals.h" namespace sandbox { diff --git a/sandbox/src/sandbox_nt_util.cc b/sandbox/win/src/sandbox_nt_util.cc index daa361a..4c937bd 100644 --- a/sandbox/src/sandbox_nt_util.cc +++ b/sandbox/win/src/sandbox_nt_util.cc @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/sandbox_nt_util.h" #include "base/win/pe_image.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/sandbox_nt_util.h b/sandbox/win/src/sandbox_nt_util.h index 7a82302..06538cd 100644 --- a/sandbox/src/sandbox_nt_util.h +++ b/sandbox/win/src/sandbox_nt_util.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_SANDBOX_NT_UTIL_H_ #include "base/basictypes.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/sandbox_nt_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_nt_types.h" // Placement new and delete to be used from ntdll interception code. void* __cdecl operator new(size_t size, sandbox::AllocationType type, diff --git a/sandbox/src/sandbox_policy.h b/sandbox/win/src/sandbox_policy.h index 288adc45..566351a4 100644 --- a/sandbox/src/sandbox_policy.h +++ b/sandbox/win/src/sandbox_policy.h @@ -8,8 +8,8 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/security_level.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/security_level.h" namespace sandbox { diff --git a/sandbox/src/sandbox_policy_base.cc b/sandbox/win/src/sandbox_policy_base.cc index 4438641..63e77d5 100644 --- a/sandbox/src/sandbox_policy_base.cc +++ b/sandbox/win/src/sandbox_policy_base.cc @@ -2,32 +2,32 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/sandbox_policy_base.h" #include "base/basictypes.h" #include "base/callback.h" #include "base/logging.h" -#include "sandbox/src/filesystem_dispatcher.h" -#include "sandbox/src/filesystem_policy.h" -#include "sandbox/src/handle_dispatcher.h" -#include "sandbox/src/handle_policy.h" -#include "sandbox/src/job.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/named_pipe_dispatcher.h" -#include "sandbox/src/named_pipe_policy.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_engine_processor.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/process_thread_dispatcher.h" -#include "sandbox/src/process_thread_policy.h" -#include "sandbox/src/registry_dispatcher.h" -#include "sandbox/src/registry_policy.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sync_dispatcher.h" -#include "sandbox/src/sync_policy.h" -#include "sandbox/src/target_process.h" -#include "sandbox/src/window.h" +#include "sandbox/win/src/filesystem_dispatcher.h" +#include "sandbox/win/src/filesystem_policy.h" +#include "sandbox/win/src/handle_dispatcher.h" +#include "sandbox/win/src/handle_policy.h" +#include "sandbox/win/src/job.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/named_pipe_dispatcher.h" +#include "sandbox/win/src/named_pipe_policy.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_engine_processor.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/process_thread_dispatcher.h" +#include "sandbox/win/src/process_thread_policy.h" +#include "sandbox/win/src/registry_dispatcher.h" +#include "sandbox/win/src/registry_policy.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sync_dispatcher.h" +#include "sandbox/win/src/sync_policy.h" +#include "sandbox/win/src/target_process.h" +#include "sandbox/win/src/window.h" namespace { // The standard windows size for one memory page. diff --git a/sandbox/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h index b3ea805..8fdfe91 100644 --- a/sandbox/src/sandbox_policy_base.h +++ b/sandbox/win/src/sandbox_policy_base.h @@ -13,13 +13,13 @@ #include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/string16.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/handle_closer.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_engine_params.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/handle_closer.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_engine_params.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/win_utils.h" namespace sandbox { diff --git a/sandbox/src/sandbox_types.h b/sandbox/win/src/sandbox_types.h index ce9b767..ce9b767 100644 --- a/sandbox/src/sandbox_types.h +++ b/sandbox/win/src/sandbox_types.h diff --git a/sandbox/src/sandbox_utils.cc b/sandbox/win/src/sandbox_utils.cc index 3bfa696..509c7c8 100644 --- a/sandbox/src/sandbox_utils.cc +++ b/sandbox/win/src/sandbox_utils.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sandbox_utils.h" +#include "sandbox/win/src/sandbox_utils.h" #include <windows.h> #include "base/logging.h" #include "base/win/windows_version.h" -#include "sandbox/src/internal_types.h" -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/internal_types.h" +#include "sandbox/win/src/nt_internals.h" namespace sandbox { diff --git a/sandbox/src/sandbox_utils.h b/sandbox/win/src/sandbox_utils.h index 314330f..8329698 100644 --- a/sandbox/src/sandbox_utils.h +++ b/sandbox/win/src/sandbox_utils.h @@ -9,7 +9,7 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/nt_internals.h" namespace sandbox { diff --git a/sandbox/src/security_level.h b/sandbox/win/src/security_level.h index 467f96f..467f96f 100644 --- a/sandbox/src/security_level.h +++ b/sandbox/win/src/security_level.h diff --git a/sandbox/src/service_resolver.cc b/sandbox/win/src/service_resolver.cc index 79579a0..bae698c 100644 --- a/sandbox/src/service_resolver.cc +++ b/sandbox/win/src/service_resolver.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/src/service_resolver.h" +#include "sandbox/win/src/service_resolver.h" #include "base/logging.h" #include "base/win/pe_image.h" diff --git a/sandbox/src/service_resolver.h b/sandbox/win/src/service_resolver.h index 99eadb6..3eb9e08 100644 --- a/sandbox/src/service_resolver.h +++ b/sandbox/win/src/service_resolver.h @@ -5,8 +5,8 @@ #ifndef SANDBOX_SRC_SERVICE_RESOLVER_H__ #define SANDBOX_SRC_SERVICE_RESOLVER_H__ -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/resolver.h" namespace sandbox { diff --git a/sandbox/src/service_resolver_32.cc b/sandbox/win/src/service_resolver_32.cc index 2f5597b..d4d2048 100644 --- a/sandbox/src/service_resolver_32.cc +++ b/sandbox/win/src/service_resolver_32.cc @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/service_resolver.h" +#include "sandbox/win/src/service_resolver.h" #include "base/memory/scoped_ptr.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/win_utils.h" namespace { #pragma pack(push, 1) diff --git a/sandbox/src/service_resolver_64.cc b/sandbox/win/src/service_resolver_64.cc index 01e3b1a..b69d4d8 100644 --- a/sandbox/src/service_resolver_64.cc +++ b/sandbox/win/src/service_resolver_64.cc @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/service_resolver.h" +#include "sandbox/win/src/service_resolver.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/win_utils.h" namespace { #pragma pack(push, 1) diff --git a/sandbox/src/service_resolver_unittest.cc b/sandbox/win/src/service_resolver_unittest.cc index fc85c86..8c44202 100644 --- a/sandbox/src/service_resolver_unittest.cc +++ b/sandbox/win/src/service_resolver_unittest.cc @@ -7,9 +7,9 @@ #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" #include "base/win/windows_version.h" -#include "sandbox/src/resolver.h" -#include "sandbox/src/sandbox_utils.h" -#include "sandbox/src/service_resolver.h" +#include "sandbox/win/src/resolver.h" +#include "sandbox/win/src/sandbox_utils.h" +#include "sandbox/win/src/service_resolver.h" #include "testing/gtest/include/gtest/gtest.h" namespace { diff --git a/sandbox/src/shared_handles.cc b/sandbox/win/src/shared_handles.cc index d07f057..423b67b 100644 --- a/sandbox/src/shared_handles.cc +++ b/sandbox/win/src/shared_handles.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/src/shared_handles.h" +#include "sandbox/win/src/shared_handles.h" namespace sandbox { diff --git a/sandbox/src/shared_handles.h b/sandbox/win/src/shared_handles.h index 2c76bfb..2c76bfb 100644 --- a/sandbox/src/shared_handles.h +++ b/sandbox/win/src/shared_handles.h diff --git a/sandbox/src/sharedmem_ipc_client.cc b/sandbox/win/src/sharedmem_ipc_client.cc index 30c03b9..a9eb01f 100644 --- a/sandbox/src/sharedmem_ipc_client.cc +++ b/sandbox/win/src/sharedmem_ipc_client.cc @@ -3,10 +3,10 @@ // found in the LICENSE file. #include <string.h> -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/crosscall_params.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/crosscall_params.h" #include "base/logging.h" namespace sandbox { diff --git a/sandbox/src/sharedmem_ipc_client.h b/sandbox/win/src/sharedmem_ipc_client.h index 90d0022..a0c5f2f 100644 --- a/sandbox/src/sharedmem_ipc_client.h +++ b/sandbox/win/src/sharedmem_ipc_client.h @@ -5,8 +5,8 @@ #ifndef SANDBOX_SRC_SHAREDMEM_IPC_CLIENT_H__ #define SANDBOX_SRC_SHAREDMEM_IPC_CLIENT_H__ -#include "sandbox/src/crosscall_params.h" -#include "sandbox/src/sandbox.h" +#include "sandbox/win/src/crosscall_params.h" +#include "sandbox/win/src/sandbox.h" // IPC transport implementation that uses shared memory. // This is the client side diff --git a/sandbox/src/sharedmem_ipc_server.cc b/sandbox/win/src/sharedmem_ipc_server.cc index ba90d1b..e2a30c72 100644 --- a/sandbox/src/sharedmem_ipc_server.cc +++ b/sandbox/win/src/sharedmem_ipc_server.cc @@ -5,12 +5,12 @@ #include "base/callback.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" -#include "sandbox/src/sharedmem_ipc_server.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/crosscall_params.h" -#include "sandbox/src/crosscall_server.h" +#include "sandbox/win/src/sharedmem_ipc_server.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/crosscall_params.h" +#include "sandbox/win/src/crosscall_server.h" namespace sandbox { diff --git a/sandbox/src/sharedmem_ipc_server.h b/sandbox/win/src/sharedmem_ipc_server.h index 7e10174..94d6959 100644 --- a/sandbox/src/sharedmem_ipc_server.h +++ b/sandbox/win/src/sharedmem_ipc_server.h @@ -9,9 +9,9 @@ #include "base/basictypes.h" #include "base/gtest_prod_util.h" -#include "sandbox/src/crosscall_params.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/crosscall_params.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" // IPC transport implementation that uses shared memory. // This is the server side diff --git a/sandbox/src/sid.cc b/sandbox/win/src/sid.cc index 6ed9963..261605d 100644 --- a/sandbox/src/sid.cc +++ b/sandbox/win/src/sid.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/src/sid.h" +#include "sandbox/win/src/sid.h" #include "base/logging.h" diff --git a/sandbox/src/sid.h b/sandbox/win/src/sid.h index 4656859..4656859 100644 --- a/sandbox/src/sid.h +++ b/sandbox/win/src/sid.h diff --git a/sandbox/src/sid_unittest.cc b/sandbox/win/src/sid_unittest.cc index f1ac60a..76d61e8 100644 --- a/sandbox/src/sid_unittest.cc +++ b/sandbox/win/src/sid_unittest.cc @@ -8,7 +8,7 @@ #include <atlbase.h> #include <atlsecurity.h> -#include "sandbox/src/sid.h" +#include "sandbox/win/src/sid.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/sidestep/ia32_modrm_map.cpp b/sandbox/win/src/sidestep/ia32_modrm_map.cpp index b22ab1d..89bc189 100644 --- a/sandbox/src/sidestep/ia32_modrm_map.cpp +++ b/sandbox/win/src/sidestep/ia32_modrm_map.cpp @@ -6,8 +6,8 @@ // Based on information in the IA-32 Intel Architecture // Software Developer's Manual Volume 2: Instruction Set Reference. -#include "sandbox/src/sidestep/mini_disassembler.h" -#include "sandbox/src/sidestep/mini_disassembler_types.h" +#include "sandbox/win/src/sidestep/mini_disassembler.h" +#include "sandbox/win/src/sidestep/mini_disassembler_types.h" namespace sidestep { diff --git a/sandbox/src/sidestep/ia32_opcode_map.cpp b/sandbox/win/src/sidestep/ia32_opcode_map.cpp index 9f37cef..b7d8a60 100644 --- a/sandbox/src/sidestep/ia32_opcode_map.cpp +++ b/sandbox/win/src/sidestep/ia32_opcode_map.cpp @@ -7,7 +7,7 @@ // for how to lay out the tables in memory taken from the implementation // in the Bastard disassembly environment. -#include "sandbox/src/sidestep/mini_disassembler.h" +#include "sandbox/win/src/sidestep/mini_disassembler.h" namespace sidestep { diff --git a/sandbox/src/sidestep/mini_disassembler.cpp b/sandbox/win/src/sidestep/mini_disassembler.cpp index 514522a..1e8e0bd 100644 --- a/sandbox/src/sidestep/mini_disassembler.cpp +++ b/sandbox/win/src/sidestep/mini_disassembler.cpp @@ -8,7 +8,7 @@ #error The code in this file should not be used on 64-bit Windows. #endif -#include "sandbox/src/sidestep/mini_disassembler.h" +#include "sandbox/win/src/sidestep/mini_disassembler.h" namespace sidestep { diff --git a/sandbox/src/sidestep/mini_disassembler.h b/sandbox/win/src/sidestep/mini_disassembler.h index 444df36..202c4ec 100644 --- a/sandbox/src/sidestep/mini_disassembler.h +++ b/sandbox/win/src/sidestep/mini_disassembler.h @@ -7,7 +7,7 @@ #ifndef SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ #define SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ -#include "sandbox/src/sidestep/mini_disassembler_types.h" +#include "sandbox/win/src/sidestep/mini_disassembler_types.h" namespace sidestep { diff --git a/sandbox/src/sidestep/mini_disassembler_types.h b/sandbox/win/src/sidestep/mini_disassembler_types.h index 1c10626..1c10626 100644 --- a/sandbox/src/sidestep/mini_disassembler_types.h +++ b/sandbox/win/src/sidestep/mini_disassembler_types.h diff --git a/sandbox/src/sidestep/preamble_patcher.h b/sandbox/win/src/sidestep/preamble_patcher.h index 18cf7f8..18cf7f8 100644 --- a/sandbox/src/sidestep/preamble_patcher.h +++ b/sandbox/win/src/sidestep/preamble_patcher.h diff --git a/sandbox/src/sidestep/preamble_patcher_with_stub.cpp b/sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp index 4bdd79c2..999d76b 100644 --- a/sandbox/src/sidestep/preamble_patcher_with_stub.cpp +++ b/sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp @@ -4,10 +4,10 @@ // Implementation of PreamblePatcher -#include "sandbox/src/sidestep/preamble_patcher.h" +#include "sandbox/win/src/sidestep/preamble_patcher.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sidestep/mini_disassembler.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sidestep/mini_disassembler.h" // Definitions of assembly statements we need #define ASM_JMP32REL 0xE9 diff --git a/sandbox/src/sidestep_resolver.cc b/sandbox/win/src/sidestep_resolver.cc index e22ca6b..47c0f56 100644 --- a/sandbox/src/sidestep_resolver.cc +++ b/sandbox/win/src/sidestep_resolver.cc @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sidestep_resolver.h" +#include "sandbox/win/src/sidestep_resolver.h" #include "base/win/pe_image.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sidestep/preamble_patcher.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sidestep/preamble_patcher.h" namespace { diff --git a/sandbox/src/sidestep_resolver.h b/sandbox/win/src/sidestep_resolver.h index 1e7fdac..30d8cb3 100644 --- a/sandbox/src/sidestep_resolver.h +++ b/sandbox/win/src/sidestep_resolver.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_SIDESTEP_RESOLVER_H__ #include "base/basictypes.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/resolver.h" namespace sandbox { diff --git a/sandbox/src/sync_dispatcher.cc b/sandbox/win/src/sync_dispatcher.cc index 025fd96..eb1c1e4 100644 --- a/sandbox/src/sync_dispatcher.cc +++ b/sandbox/win/src/sync_dispatcher.cc @@ -2,17 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sync_dispatcher.h" +#include "sandbox/win/src/sync_dispatcher.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/interception.h" -#include "sandbox/src/interceptors.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_broker.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sync_interception.h" -#include "sandbox/src/sync_policy.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/interception.h" +#include "sandbox/win/src/interceptors.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_broker.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sync_interception.h" +#include "sandbox/win/src/sync_policy.h" namespace sandbox { diff --git a/sandbox/src/sync_dispatcher.h b/sandbox/win/src/sync_dispatcher.h index be9b9a2..13c8b9d3 100644 --- a/sandbox/src/sync_dispatcher.h +++ b/sandbox/win/src/sync_dispatcher.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_SYNC_DISPATCHER_H_ #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_policy_base.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_policy_base.h" namespace sandbox { diff --git a/sandbox/src/sync_interception.cc b/sandbox/win/src/sync_interception.cc index 4832c79..d235723 100644 --- a/sandbox/src/sync_interception.cc +++ b/sandbox/win/src/sync_interception.cc @@ -2,16 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/sync_interception.h" - -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/policy_target.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/sync_interception.h" + +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/policy_target.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/sync_interception.h b/sandbox/win/src/sync_interception.h index 4ac23e7..6c5c46e 100644 --- a/sandbox/src/sync_interception.h +++ b/sandbox/win/src/sync_interception.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_SYNC_INTERCEPTION_H__ #define SANDBOX_SRC_SYNC_INTERCEPTION_H__ diff --git a/sandbox/src/sync_policy.cc b/sandbox/win/src/sync_policy.cc index 364cf73..926fc52 100644 --- a/sandbox/src/sync_policy.cc +++ b/sandbox/win/src/sync_policy.cc @@ -4,14 +4,14 @@ #include <string> -#include "sandbox/src/sync_policy.h" +#include "sandbox/win/src/sync_policy.h" #include "base/logging.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/policy_engine_opcodes.h" -#include "sandbox/src/policy_params.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sandbox_utils.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/policy_engine_opcodes.h" +#include "sandbox/win/src/policy_params.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_utils.h" namespace sandbox { diff --git a/sandbox/src/sync_policy.h b/sandbox/win/src/sync_policy.h index 6404f79..2b8b422 100644 --- a/sandbox/src/sync_policy.h +++ b/sandbox/win/src/sync_policy.h @@ -8,10 +8,10 @@ #include <string> #include "base/basictypes.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/sandbox_policy.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/sandbox_policy.h" namespace sandbox { diff --git a/sandbox/src/sync_policy_test.cc b/sandbox/win/src/sync_policy_test.cc index 3c87243..6490175 100644 --- a/sandbox/src/sync_policy_test.cc +++ b/sandbox/win/src/sync_policy_test.cc @@ -3,11 +3,11 @@ // found in the LICENSE file. #include "base/win/scoped_handle.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_policy.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/nt_internals.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_policy.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/target_interceptions.cc b/sandbox/win/src/target_interceptions.cc index a1d463b..e6b0dcf 100644 --- a/sandbox/src/target_interceptions.cc +++ b/sandbox/win/src/target_interceptions.cc @@ -2,12 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/target_interceptions.h" +#include "sandbox/win/src/target_interceptions.h" -#include "sandbox/src/interception_agent.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_nt_util.h" -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/interception_agent.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_nt_util.h" +#include "sandbox/win/src/target_services.h" namespace sandbox { diff --git a/sandbox/src/target_interceptions.h b/sandbox/win/src/target_interceptions.h index dd6e12c..f4805fe 100644 --- a/sandbox/src/target_interceptions.h +++ b/sandbox/win/src/target_interceptions.h @@ -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/src/nt_internals.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/sandbox_types.h" #ifndef SANDBOX_SRC_TARGET_INTERCEPTIONS_H__ #define SANDBOX_SRC_TARGET_INTERCEPTIONS_H__ diff --git a/sandbox/src/target_process.cc b/sandbox/win/src/target_process.cc index 88e2751..601d80b 100644 --- a/sandbox/src/target_process.cc +++ b/sandbox/win/src/target_process.cc @@ -2,17 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/target_process.h" +#include "sandbox/win/src/target_process.h" #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" #include "base/win/pe_image.h" #include "base/win/windows_version.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/policy_low_level.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sharedmem_ipc_server.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/policy_low_level.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sharedmem_ipc_server.h" namespace { diff --git a/sandbox/src/target_process.h b/sandbox/win/src/target_process.h index 6e462c3..311fa84 100644 --- a/sandbox/src/target_process.h +++ b/sandbox/win/src/target_process.h @@ -11,8 +11,8 @@ #include "base/memory/scoped_ptr.h" #include "base/win/scoped_handle.h" #include "base/win/scoped_process_information.h" -#include "sandbox/src/crosscall_server.h" -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/crosscall_server.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/src/target_services.cc b/sandbox/win/src/target_services.cc index e13a3d6..495f108 100644 --- a/sandbox/src/target_services.cc +++ b/sandbox/win/src/target_services.cc @@ -2,20 +2,20 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/target_services.h" +#include "sandbox/win/src/target_services.h" #include <process.h> #include "base/basictypes.h" -#include "sandbox/src/crosscall_client.h" -#include "sandbox/src/handle_closer_agent.h" -#include "sandbox/src/handle_interception.h" -#include "sandbox/src/ipc_tags.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_types.h" -#include "sandbox/src/sharedmem_ipc_client.h" -#include "sandbox/src/sandbox_nt_util.h" +#include "sandbox/win/src/crosscall_client.h" +#include "sandbox/win/src/handle_closer_agent.h" +#include "sandbox/win/src/handle_interception.h" +#include "sandbox/win/src/ipc_tags.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_types.h" +#include "sandbox/win/src/sharedmem_ipc_client.h" +#include "sandbox/win/src/sandbox_nt_util.h" namespace { diff --git a/sandbox/src/target_services.h b/sandbox/win/src/target_services.h index c4bf4f6..70f173b 100644 --- a/sandbox/src/target_services.h +++ b/sandbox/win/src/target_services.h @@ -6,8 +6,8 @@ #define SANDBOX_SRC_TARGET_SERVICES_H__ #include "base/basictypes.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/win_utils.h" namespace sandbox { diff --git a/sandbox/src/threadpool_unittest.cc b/sandbox/win/src/threadpool_unittest.cc index 2c85b57..f439810 100644 --- a/sandbox/src/threadpool_unittest.cc +++ b/sandbox/win/src/threadpool_unittest.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/src/win2k_threadpool.h" +#include "sandbox/win/src/win2k_threadpool.h" #include "testing/gtest/include/gtest/gtest.h" void __stdcall EmptyCallBack(void*, unsigned char) { diff --git a/sandbox/src/unload_dll_test.cc b/sandbox/win/src/unload_dll_test.cc index 2bce1b8..620016c 100644 --- a/sandbox/src/unload_dll_test.cc +++ b/sandbox/win/src/unload_dll_test.cc @@ -3,10 +3,10 @@ // found in the LICENSE file. #include "base/win/scoped_handle.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/target_services.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/target_services.h" +#include "sandbox/win/tests/common/controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace sandbox { diff --git a/sandbox/src/win2k_threadpool.cc b/sandbox/win/src/win2k_threadpool.cc index fe2473e..24cbacf 100644 --- a/sandbox/src/win2k_threadpool.cc +++ b/sandbox/win/src/win2k_threadpool.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/win2k_threadpool.h" +#include "sandbox/win/src/win2k_threadpool.h" -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/win_utils.h" namespace sandbox { diff --git a/sandbox/src/win2k_threadpool.h b/sandbox/win/src/win2k_threadpool.h index 8593fa3..0abb358 100644 --- a/sandbox/src/win2k_threadpool.h +++ b/sandbox/win/src/win2k_threadpool.h @@ -7,7 +7,7 @@ #include <list> #include <algorithm> -#include "sandbox/src/crosscall_server.h" +#include "sandbox/win/src/crosscall_server.h" namespace sandbox { diff --git a/sandbox/src/win_utils.cc b/sandbox/win/src/win_utils.cc index 8a43d97..8e63ac7 100644 --- a/sandbox/src/win_utils.cc +++ b/sandbox/win/src/win_utils.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/win_utils.h" +#include "sandbox/win/src/win_utils.h" #include <map> #include "base/logging.h" #include "base/memory/scoped_ptr.h" -#include "sandbox/src/internal_types.h" -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/internal_types.h" +#include "sandbox/win/src/nt_internals.h" namespace { diff --git a/sandbox/src/win_utils.h b/sandbox/win/src/win_utils.h index a80bb81..a80bb81 100644 --- a/sandbox/src/win_utils.h +++ b/sandbox/win/src/win_utils.h diff --git a/sandbox/src/win_utils_unittest.cc b/sandbox/win/src/win_utils_unittest.cc index 0f445ef..7265316 100644 --- a/sandbox/src/win_utils_unittest.cc +++ b/sandbox/win/src/win_utils_unittest.cc @@ -5,8 +5,8 @@ #include <windows.h> #include "base/win/scoped_handle.h" -#include "sandbox/src/win_utils.h" -#include "sandbox/tests/common/test_utils.h" +#include "sandbox/win/src/win_utils.h" +#include "sandbox/win/tests/common/test_utils.h" #include "testing/gtest/include/gtest/gtest.h" TEST(WinUtils, IsReparsePoint) { diff --git a/sandbox/src/window.cc b/sandbox/win/src/window.cc index 507ae57..445cb17 100644 --- a/sandbox/src/window.cc +++ b/sandbox/win/src/window.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/src/window.h" +#include "sandbox/win/src/window.h" #include <aclapi.h> diff --git a/sandbox/src/window.h b/sandbox/win/src/window.h index f65b463..e8233e7 100644 --- a/sandbox/src/window.h +++ b/sandbox/win/src/window.h @@ -8,7 +8,7 @@ #include <windows.h> #include <string> -#include "sandbox/src/sandbox_types.h" +#include "sandbox/win/src/sandbox_types.h" namespace sandbox { diff --git a/sandbox/tests/common/controller.cc b/sandbox/win/tests/common/controller.cc index b255f305..33dd776 100644 --- a/sandbox/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> @@ -10,8 +10,8 @@ #include "base/process_util.h" #include "base/sys_string_conversions.h" #include "base/win/windows_version.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/src/sandbox_utils.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/src/sandbox_utils.h" namespace { diff --git a/sandbox/tests/common/controller.h b/sandbox/win/tests/common/controller.h index 5c2a471..42a6671 100644 --- a/sandbox/tests/common/controller.h +++ b/sandbox/win/tests/common/controller.h @@ -9,7 +9,7 @@ #include <string> #include "base/win/scoped_handle.h" -#include "sandbox/src/sandbox.h" +#include "sandbox/win/src/sandbox.h" namespace sandbox { diff --git a/sandbox/tests/common/test_utils.cc b/sandbox/win/tests/common/test_utils.cc index 929c322..cdd86de 100644 --- a/sandbox/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/tests/common/test_utils.h b/sandbox/win/tests/common/test_utils.h index 9e17660..9e17660 100644 --- a/sandbox/tests/common/test_utils.h +++ b/sandbox/win/tests/common/test_utils.h diff --git a/sandbox/tests/integration_tests/integration_tests.cc b/sandbox/win/tests/integration_tests/integration_tests.cc index 5096abb..1996430 100644 --- a/sandbox/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/tests/integration_tests/integration_tests_test.cc b/sandbox/win/tests/integration_tests/integration_tests_test.cc index b610681..1f54c64 100644 --- a/sandbox/tests/integration_tests/integration_tests_test.cc +++ b/sandbox/win/tests/integration_tests/integration_tests_test.cc @@ -5,10 +5,10 @@ // Some tests for the framework itself. #include "testing/gtest/include/gtest/gtest.h" -#include "sandbox/src/sandbox.h" -#include "sandbox/src/target_services.h" -#include "sandbox/src/sandbox_factory.h" -#include "sandbox/tests/common/controller.h" +#include "sandbox/win/src/sandbox.h" +#include "sandbox/win/src/target_services.h" +#include "sandbox/win/src/sandbox_factory.h" +#include "sandbox/win/tests/common/controller.h" namespace sandbox { diff --git a/sandbox/tests/integration_tests/sbox_integration_tests.vcproj b/sandbox/win/tests/integration_tests/sbox_integration_tests.vcproj index 53816e7..53816e7 100644 --- a/sandbox/tests/integration_tests/sbox_integration_tests.vcproj +++ b/sandbox/win/tests/integration_tests/sbox_integration_tests.vcproj diff --git a/sandbox/tests/unit_tests/sbox_unittests.vcproj b/sandbox/win/tests/unit_tests/sbox_unittests.vcproj index a2df792..a2df792 100644 --- a/sandbox/tests/unit_tests/sbox_unittests.vcproj +++ b/sandbox/win/tests/unit_tests/sbox_unittests.vcproj diff --git a/sandbox/tests/unit_tests/unit_tests.cc b/sandbox/win/tests/unit_tests/unit_tests.cc index a9623db..a9623db 100644 --- a/sandbox/tests/unit_tests/unit_tests.cc +++ b/sandbox/win/tests/unit_tests/unit_tests.cc diff --git a/sandbox/tests/validation_tests/commands.cc b/sandbox/win/tests/validation_tests/commands.cc index d99451f..dcdd433 100644 --- a/sandbox/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/tests/validation_tests/commands.h b/sandbox/win/tests/validation_tests/commands.h index 9b797a5..9b797a5 100644 --- a/sandbox/tests/validation_tests/commands.h +++ b/sandbox/win/tests/validation_tests/commands.h diff --git a/sandbox/tests/validation_tests/sbox_validation_tests.vcproj b/sandbox/win/tests/validation_tests/sbox_validation_tests.vcproj index 9b7b599..9b7b599 100644 --- a/sandbox/tests/validation_tests/sbox_validation_tests.vcproj +++ b/sandbox/win/tests/validation_tests/sbox_validation_tests.vcproj diff --git a/sandbox/tests/validation_tests/suite.cc b/sandbox/win/tests/validation_tests/suite.cc index 3147f70..95209b7 100644 --- a/sandbox/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/tests/validation_tests/unit_tests.cc b/sandbox/win/tests/validation_tests/unit_tests.cc index 490f7ec..56be2ce 100644 --- a/sandbox/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) { diff --git a/sandbox/tools/finder/finder.cc b/sandbox/win/tools/finder/finder.cc index 26fc1b9..9b82962 100644 --- a/sandbox/tools/finder/finder.cc +++ b/sandbox/win/tools/finder/finder.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/tools/finder/finder.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/tools/finder/finder.h" Finder::Finder() { file_output_ = NULL; diff --git a/sandbox/tools/finder/finder.h b/sandbox/win/tools/finder/finder.h index 0686b1d..23255ce 100644 --- a/sandbox/tools/finder/finder.h +++ b/sandbox/win/tools/finder/finder.h @@ -5,8 +5,8 @@ #ifndef SANDBOX_TOOLS_FINDER_FINDER_H__ #define SANDBOX_TOOLS_FINDER_FINDER_H__ -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/tools/finder/ntundoc.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/tools/finder/ntundoc.h" // Type of stats that we calculate during the Scan operation enum Stats { diff --git a/sandbox/tools/finder/finder.vcproj b/sandbox/win/tools/finder/finder.vcproj index 787c847..787c847 100644 --- a/sandbox/tools/finder/finder.vcproj +++ b/sandbox/win/tools/finder/finder.vcproj diff --git a/sandbox/tools/finder/finder_fs.cc b/sandbox/win/tools/finder/finder_fs.cc index 7375b86..ddcc4be 100644 --- a/sandbox/tools/finder/finder_fs.cc +++ b/sandbox/win/tools/finder/finder_fs.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/tools/finder/finder.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/tools/finder/finder.h" DWORD Finder::ParseFileSystem(ATL::CString directory) { WIN32_FIND_DATA find_data; diff --git a/sandbox/tools/finder/finder_kernel.cc b/sandbox/win/tools/finder/finder_kernel.cc index 66ab454..430a4c0 100644 --- a/sandbox/tools/finder/finder_kernel.cc +++ b/sandbox/win/tools/finder/finder_kernel.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/tools/finder/finder.h" -#include "sandbox/tools/finder/ntundoc.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/tools/finder/finder.h" +#include "sandbox/win/tools/finder/ntundoc.h" #define BUFFER_SIZE 0x800 #define CHECKPTR(x) if (!x) return ::GetLastError() diff --git a/sandbox/tools/finder/finder_registry.cc b/sandbox/win/tools/finder/finder_registry.cc index 4b18625..a84e413 100644 --- a/sandbox/tools/finder/finder_registry.cc +++ b/sandbox/win/tools/finder/finder_registry.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/src/restricted_token.h" -#include "sandbox/src/restricted_token_utils.h" -#include "sandbox/tools/finder/finder.h" +#include "sandbox/win/src/restricted_token.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/tools/finder/finder.h" DWORD Finder::ParseRegistry(HKEY key, ATL::CString print_name) { DWORD index = 0; diff --git a/sandbox/tools/finder/main.cc b/sandbox/win/tools/finder/main.cc index 6ffbec3..7cadbef 100644 --- a/sandbox/tools/finder/main.cc +++ b/sandbox/win/tools/finder/main.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/src/restricted_token_utils.h" -#include "sandbox/tools/finder/finder.h" +#include "sandbox/win/src/restricted_token_utils.h" +#include "sandbox/win/tools/finder/finder.h" #define PARAM_IS(y) (argc > i) && (_wcsicmp(argv[i], y) == 0) diff --git a/sandbox/tools/finder/ntundoc.h b/sandbox/win/tools/finder/ntundoc.h index dc8c3a5..dc8c3a5 100644 --- a/sandbox/tools/finder/ntundoc.h +++ b/sandbox/win/tools/finder/ntundoc.h diff --git a/sandbox/tools/launcher/launcher.cc b/sandbox/win/tools/launcher/launcher.cc index 8f913b3..efcc4a4 100644 --- a/sandbox/tools/launcher/launcher.cc +++ b/sandbox/win/tools/launcher/launcher.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/src/restricted_token_utils.h" +#include "sandbox/win/src/restricted_token_utils.h" // launcher.exe is an application used to launch another application with a // restricted token. This is to be used for testing only. diff --git a/sandbox/tools/launcher/launcher.vcproj b/sandbox/win/tools/launcher/launcher.vcproj index 71ed011..71ed011 100644 --- a/sandbox/tools/launcher/launcher.vcproj +++ b/sandbox/win/tools/launcher/launcher.vcproj diff --git a/sandbox/wow_helper.sln b/sandbox/win/wow_helper.sln index 26d0da2..26d0da2 100644 --- a/sandbox/wow_helper.sln +++ b/sandbox/win/wow_helper.sln diff --git a/sandbox/wow_helper/service64_resolver.cc b/sandbox/win/wow_helper/service64_resolver.cc index d54e0b0..fe8a210 100644 --- a/sandbox/wow_helper/service64_resolver.cc +++ b/sandbox/win/wow_helper/service64_resolver.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sandbox/wow_helper/service64_resolver.h" +#include "sandbox/win/wow_helper/service64_resolver.h" #include "base/memory/scoped_ptr.h" -#include "sandbox/wow_helper/target_code.h" +#include "sandbox/win/wow_helper/target_code.h" namespace { #pragma pack(push, 1) diff --git a/sandbox/wow_helper/service64_resolver.h b/sandbox/win/wow_helper/service64_resolver.h index f782172..abd7efd 100644 --- a/sandbox/wow_helper/service64_resolver.h +++ b/sandbox/win/wow_helper/service64_resolver.h @@ -5,8 +5,8 @@ #ifndef SANDBOX_WOW_HELPER_SERVICE64_RESOLVER_H__ #define SANDBOX_WOW_HELPER_SERVICE64_RESOLVER_H__ -#include "sandbox/src/nt_internals.h" -#include "sandbox/src/resolver.h" +#include "sandbox/win/src/nt_internals.h" +#include "sandbox/win/src/resolver.h" namespace sandbox { diff --git a/sandbox/wow_helper/target_code.cc b/sandbox/win/wow_helper/target_code.cc index 1f93988..8da27cc5 100644 --- a/sandbox/wow_helper/target_code.cc +++ b/sandbox/win/wow_helper/target_code.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/wow_helper/target_code.h" +#include "sandbox/win/wow_helper/target_code.h" namespace sandbox { diff --git a/sandbox/wow_helper/target_code.h b/sandbox/win/wow_helper/target_code.h index 56db6fe..c198a85 100644 --- a/sandbox/wow_helper/target_code.h +++ b/sandbox/win/wow_helper/target_code.h @@ -5,7 +5,7 @@ #ifndef SANDBOX_WOW_HELPER_TARGET_CODE_H__ #define SANDBOX_WOW_HELPER_TARGET_CODE_H__ -#include "sandbox/src/nt_internals.h" +#include "sandbox/win/src/nt_internals.h" namespace sandbox { @@ -13,7 +13,7 @@ extern "C" { // Holds the information needed for the interception of NtMapViewOfSection. // Changes of this structure must be synchronized with changes of PatchInfo32 -// on sandbox/src/wow64.cc. +// on sandbox/win/src/wow64.cc. struct PatchInfo { HANDLE dll_load; // Event to signal the broker. HANDLE continue_load; // Event to wait for the broker. diff --git a/sandbox/wow_helper/wow_helper.cc b/sandbox/win/wow_helper/wow_helper.cc index 6c272e4..9d5a5ea 100644 --- a/sandbox/wow_helper/wow_helper.cc +++ b/sandbox/win/wow_helper/wow_helper.cc @@ -12,8 +12,8 @@ #include <string> -#include "sandbox/wow_helper/service64_resolver.h" -#include "sandbox/wow_helper/target_code.h" +#include "sandbox/win/wow_helper/service64_resolver.h" +#include "sandbox/win/wow_helper/target_code.h" namespace { diff --git a/sandbox/wow_helper/wow_helper.exe b/sandbox/win/wow_helper/wow_helper.exe Binary files differindex f9bfb4b..f9bfb4b 100755 --- a/sandbox/wow_helper/wow_helper.exe +++ b/sandbox/win/wow_helper/wow_helper.exe diff --git a/sandbox/wow_helper/wow_helper.pdb b/sandbox/win/wow_helper/wow_helper.pdb Binary files differindex 9cb67d0..9cb67d0 100644 --- a/sandbox/wow_helper/wow_helper.pdb +++ b/sandbox/win/wow_helper/wow_helper.pdb diff --git a/sandbox/wow_helper/wow_helper.vcproj b/sandbox/win/wow_helper/wow_helper.vcproj index 5482fbd..5482fbd 100644 --- a/sandbox/wow_helper/wow_helper.vcproj +++ b/sandbox/win/wow_helper/wow_helper.vcproj |