• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
10 #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
11 
12 #if defined(__x86_64__)
13 #include "sandbox/linux/system_headers/x86_64_linux_syscalls.h"
14 #endif
15 
16 #if defined(__i386__)
17 #include "sandbox/linux/system_headers/x86_32_linux_syscalls.h"
18 #endif
19 
20 #if defined(__arm__) && defined(__ARM_EABI__)
21 #include "sandbox/linux/system_headers/arm_linux_syscalls.h"
22 #endif
23 
24 #if defined(__mips__) && (_MIPS_SIM == _ABIO32)
25 #include "sandbox/linux/system_headers/mips_linux_syscalls.h"
26 #endif
27 
28 #if defined(__mips__) && (_MIPS_SIM == _ABI64)
29 #include "sandbox/linux/system_headers/mips64_linux_syscalls.h"
30 #endif
31 
32 #if defined(__aarch64__)
33 #include "sandbox/linux/system_headers/arm64_linux_syscalls.h"
34 #endif
35 
36 #endif  // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
37 
38