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 extern "C" int SupportsSeccompSandbox(int proc_fd); | 8 extern "C" int SupportsSeccompSandbox(int proc_fd); |
jln (very slow on Chromium)
2012/04/27 23:00:29
LGTM
Could you document that the caller to Suppor
Mark Seaborn
2012/04/27 23:07:38
Hmm, yes, that would be different from SeccompSand
| |
9 extern "C" void SeccompSandboxSetProcSelfMaps(int proc_self_maps); | 9 extern "C" void SeccompSandboxSetProcSelf(int proc_self); |
Mark Seaborn
2012/04/27 23:07:38
Would SeccompSandboxSetProcSelfFd(int proc_self_fd
| |
10 extern "C" void StartSeccompSandbox(); | 10 extern "C" void StartSeccompSandbox(); |
11 | 11 |
12 #endif // SANDBOX_H__ | 12 #endif // SANDBOX_H__ |
OLD | NEW |