OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This header will be kept up to date so that we can compile system-call | 5 // This header will be kept up to date so that we can compile system-call |
6 // policies even when system headers are old. | 6 // policies even when system headers are old. |
7 // System call numbers are accessible through __NR_syscall_name. | 7 // System call numbers are accessible through __NR_syscall_name. |
8 | 8 |
9 #ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ | 9 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_ |
10 #define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ | 10 #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_ |
11 | 11 |
12 #if defined(__x86_64__) | 12 #if defined(__x86_64__) |
13 #include "sandbox/linux/services/x86_64_linux_syscalls.h" | 13 #include "sandbox/linux/system_headers/x86_64_linux_syscalls.h" |
14 #endif | 14 #endif |
15 | 15 |
16 #if defined(__i386__) | 16 #if defined(__i386__) |
17 #include "sandbox/linux/services/x86_32_linux_syscalls.h" | 17 #include "sandbox/linux/system_headers/x86_32_linux_syscalls.h" |
18 #endif | 18 #endif |
19 | 19 |
20 #if defined(__arm__) && defined(__ARM_EABI__) | 20 #if defined(__arm__) && defined(__ARM_EABI__) |
21 #include "sandbox/linux/services/arm_linux_syscalls.h" | 21 #include "sandbox/linux/system_headers/arm_linux_syscalls.h" |
22 #endif | 22 #endif |
23 | 23 |
24 #if defined(__mips__) && (_MIPS_SIM == _ABIO32) | 24 #if defined(__mips__) && (_MIPS_SIM == _ABIO32) |
25 #include "sandbox/linux/services/mips_linux_syscalls.h" | 25 #include "sandbox/linux/system_headers/mips_linux_syscalls.h" |
26 #endif | 26 #endif |
27 | 27 |
28 #if defined(__mips__) && (_MIPS_SIM == _ABI64) | 28 #if defined(__mips__) && (_MIPS_SIM == _ABI64) |
29 #include "sandbox/linux/services/mips64_linux_syscalls.h" | 29 #include "sandbox/linux/system_headers/mips64_linux_syscalls.h" |
30 #endif | 30 #endif |
31 | 31 |
32 #if defined(__aarch64__) | 32 #if defined(__aarch64__) |
33 #include "sandbox/linux/services/arm64_linux_syscalls.h" | 33 #include "sandbox/linux/system_headers/arm64_linux_syscalls.h" |
34 #endif | 34 #endif |
35 | 35 |
36 #endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ | 36 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_ |
37 | 37 |
OLD | NEW |