1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/sandbox/linux/linux_syscalls.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +// Copyright (c) 2012 The Chromium Authors. All rights reserved. 1.5 +// Use of this source code is governed by a BSD-style license that can be 1.6 +// found in the LICENSE file. 1.7 + 1.8 +/* This file has been imported from 1.9 + * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/linux_syscalls.h;h=77c1be8b82a0fe4aca308ca40547ebf7a008d24a;hb=2362c9abea79cae475921bdeee58f9e3910d211c 1.10 + */ 1.11 + 1.12 +// This header will be kept up to date so that we can compile system-call 1.13 +// policies even when system headers are old. 1.14 +// System call numbers are accessible through __NR_syscall_name. 1.15 + 1.16 +#ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ 1.17 +#define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ 1.18 + 1.19 +#if defined(__x86_64__) 1.20 +#include "x86_64_linux_syscalls.h" 1.21 +#endif 1.22 + 1.23 +#if defined(__i386__) 1.24 +#include "x86_32_linux_syscalls.h" 1.25 +#endif 1.26 + 1.27 +#if defined(__arm__) && defined(__ARM_EABI__) 1.28 +#include "arm_linux_syscalls.h" 1.29 +#endif 1.30 + 1.31 +#endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_ 1.32 +