Index: components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
diff --git a/components/nacl/loader/nacl_sandbox_linux.cc b/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
similarity index 97% |
rename from components/nacl/loader/nacl_sandbox_linux.cc |
rename to components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
index f1e4a49a4f71b1ab1efaaade862ea8a9d9f399b2..e123523de2b0b0444abeceaa83bfb326e1b7aa5d 100644 |
--- a/components/nacl/loader/nacl_sandbox_linux.cc |
+++ b/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.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 "components/nacl/loader/nacl_sandbox_linux.h" |
+#include "components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h" |
#include <errno.h> |
#include <signal.h> |
@@ -24,6 +24,8 @@ using sandbox::ErrorCode; |
using sandbox::SandboxBPF; |
using sandbox::SandboxBPFPolicy; |
+namespace nacl { |
+ |
namespace { |
// On ARM and x86_64, System V shared memory calls have each their own system |
@@ -172,3 +174,5 @@ bool InitializeBPFSandbox() { |
#endif // defined(USE_SECCOMP_BPF) |
return false; |
} |
+ |
+} // namespace nacl |