Index: components/nacl/loader/nonsfi/nonsfi_sandbox.h |
diff --git a/components/nacl/loader/nonsfi/nonsfi_sandbox.h b/components/nacl/loader/nonsfi/nonsfi_sandbox.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..abad083a745f4a58aefe73d0fffb8a385f1db8cc |
--- /dev/null |
+++ b/components/nacl/loader/nonsfi/nonsfi_sandbox.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_NACL_LOADER_NONSFI_NONSFI_SANDBOX_H_ |
+#define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_SANDBOX_H_ |
+ |
+namespace nacl { |
+namespace nonsfi { |
+ |
+// Initializes seccomp-bpf sandbox for non-SFI NaCl. This function |
+// must crash on failure. |
+void InitializeBPFSandbox(); |
+ |
+} // namespace nonsfi |
+} // namespace nacl |
+ |
+#endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_SANDBOX_H_ |