Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Unified Diff: sandbox/linux/seccomp_bpf/sandbox.h

Issue 10458040: Initial snapshot of the new BPF-enabled seccomp sandbox. This code is (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/linux/seccomp_bpf/sandbox.h
===================================================================
--- sandbox/linux/seccomp_bpf/sandbox.h (revision 0)
+++ sandbox/linux/seccomp_bpf/sandbox.h (revision 0)
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 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 SECCOMP2_SANDBOX_H__
+#define SECCOMP2_SANDBOX_H__
+
+// See sandbox_impl.h for detailed comments on this API
+extern "C" int SupportsSeccomp2Sandbox(int proc_fd);
+extern "C" void Seccomp2SandboxSetProcFd(int proc_fd);
+extern "C" void StartSeccomp2Sandbox();
+
+#endif // SECCOMP2_SANDBOX_H__
Property changes on: sandbox/linux/seccomp_bpf/sandbox.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698