OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_LINUX_SECCOMP_BPF_HELPERS_H_ | 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_ |
6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_H_ | 6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 // These are helpers to build seccomp-bpf policies, i.e. policies for a | 10 // These are helpers to build seccomp-bpf policies, i.e. policies for a |
11 // sandbox that reduces the Linux kernel's attack surface. Given their | 11 // sandbox that reduces the Linux kernel's attack surface. Given their |
12 // nature, they don't have any clear semantics and are completely | 12 // nature, they don't have any clear semantics and are completely |
13 // "implementation-defined". | 13 // "implementation-defined". |
14 | 14 |
15 namespace sandbox { | 15 namespace sandbox { |
16 | 16 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 bool IsAdvancedTimer(int sysno); | 88 bool IsAdvancedTimer(int sysno); |
89 bool IsExtendedAttributes(int sysno); | 89 bool IsExtendedAttributes(int sysno); |
90 bool IsMisc(int sysno); | 90 bool IsMisc(int sysno); |
91 #if defined(__arm__) | 91 #if defined(__arm__) |
92 bool IsArmPciConfig(int sysno); | 92 bool IsArmPciConfig(int sysno); |
93 bool IsArmPrivate(int sysno); | 93 bool IsArmPrivate(int sysno); |
94 #endif // defined(__arm__) | 94 #endif // defined(__arm__) |
95 | 95 |
96 } // namespace sandbox. | 96 } // namespace sandbox. |
97 | 97 |
98 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_H_ | 98 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_ |
OLD | NEW |