OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This header will be kept up to date so that we can compile system-call |
| 6 // policies even when system headers are old. |
| 7 // System call numbers are accessible through __NR_syscall_name. |
| 8 |
| 9 #ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ |
| 10 #define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ |
| 11 |
| 12 #if defined(__x86_64__) |
| 13 #include "sandbox/linux/services/x86_64_linux_syscalls.h" |
| 14 #endif |
| 15 |
| 16 #if defined(__i386__) |
| 17 #include "sandbox/linux/services/x86_32_linux_syscalls.h" |
| 18 #endif |
| 19 |
| 20 #if defined(__arm__) && defined(__ARM_EABI__) |
| 21 #include "sandbox/linux/services/arm_linux_syscalls.h" |
| 22 #endif |
| 23 |
| 24 #if defined(__mips__) && defined(_ABIO32) |
| 25 #include "sandbox/linux/services/mips_linux_syscalls.h" |
| 26 #endif |
| 27 |
| 28 #if defined(__aarch64__) |
| 29 #include "sandbox/linux/services/arm64_linux_syscalls.h" |
| 30 #endif |
| 31 |
| 32 #endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ |
| 33 |
OLD | NEW |