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.
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.
9 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
10 #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
12 #if defined(__x86_64__)
13 #include "sandbox/linux/system_headers/x86_64_linux_syscalls.h"
17 #include "sandbox/linux/system_headers/x86_32_linux_syscalls.h"
20 #if defined(__arm__) && defined(__ARM_EABI__)
21 #include "sandbox/linux/system_headers/arm_linux_syscalls.h"
24 #if defined(__mips__) && (_MIPS_SIM == _ABIO32)
25 #include "sandbox/linux/system_headers/mips_linux_syscalls.h"
28 #if defined(__mips__) && (_MIPS_SIM == _ABI64)
29 #include "sandbox/linux/system_headers/mips64_linux_syscalls.h"
32 #if defined(__aarch64__)
33 #include "sandbox/linux/system_headers/arm64_linux_syscalls.h"
36 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_