OLD | NEW |
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__ |
OLD | NEW |