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 #include "sandbox/linux/seccomp-bpf-helpers/syscall_sets.h" | 5 #include "sandbox/linux/seccomp-bpf-helpers/syscall_sets.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "sandbox/linux/services/linux_syscalls.h" | 8 #include "sandbox/linux/system_headers/linux_syscalls.h" |
9 | 9 |
10 namespace sandbox { | 10 namespace sandbox { |
11 | 11 |
12 // The functions below cover all existing i386, x86_64, and ARM system calls; | 12 // The functions below cover all existing i386, x86_64, and ARM system calls; |
13 // excluding syscalls made obsolete in ARM EABI. | 13 // excluding syscalls made obsolete in ARM EABI. |
14 // The implicitly defined sets form a partition of the sets of | 14 // The implicitly defined sets form a partition of the sets of |
15 // system calls. | 15 // system calls. |
16 | 16 |
17 bool SyscallSets::IsKill(int sysno) { | 17 bool SyscallSets::IsKill(int sysno) { |
18 switch (sysno) { | 18 switch (sysno) { |
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 switch (sysno) { | 1051 switch (sysno) { |
1052 case __NR_sysmips: | 1052 case __NR_sysmips: |
1053 case __NR_unused150: | 1053 case __NR_unused150: |
1054 return true; | 1054 return true; |
1055 default: | 1055 default: |
1056 return false; | 1056 return false; |
1057 } | 1057 } |
1058 } | 1058 } |
1059 #endif // defined(__mips__) | 1059 #endif // defined(__mips__) |
1060 } // namespace sandbox. | 1060 } // namespace sandbox. |
OLD | NEW |