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

Side by Side Diff: sandbox.h

Issue 10389201: Change the sandbox API to require passing in a copy of /proc instead of (Closed) Base URL: http://seccompsandbox.googlecode.com/svn/trunk/
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sandbox.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_H__ 5 #ifndef SANDBOX_H__
6 #define SANDBOX_H__ 6 #define SANDBOX_H__
7 7
8 // See sandbox_impl.h for detailed comments on this API 8 // See sandbox_impl.h for detailed comments on this API
9 extern "C" int SupportsSeccompSandbox(int proc_self); 9 extern "C" int SupportsSeccompSandbox(int proc);
10 extern "C" void SeccompSandboxSetProcSelf(int proc_self); 10 extern "C" void SeccompSandboxSetProcFd(int proc);
11 extern "C" void StartSeccompSandbox(); 11 extern "C" void StartSeccompSandbox();
12 12
13 #endif // SANDBOX_H__ 13 #endif // SANDBOX_H__
OLDNEW
« no previous file with comments | « no previous file | sandbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698