security/sandbox/linux/linux_syscalls.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 file has been imported from
     6  * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/linux_syscalls.h;h=77c1be8b82a0fe4aca308ca40547ebf7a008d24a;hb=2362c9abea79cae475921bdeee58f9e3910d211c
     7  */
     9 // This header will be kept up to date so that we can compile system-call
    10 // policies even when system headers are old.
    11 // System call numbers are accessible through __NR_syscall_name.
    13 #ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
    14 #define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
    16 #if defined(__x86_64__)
    17 #include "x86_64_linux_syscalls.h"
    18 #endif
    20 #if defined(__i386__)
    21 #include "x86_32_linux_syscalls.h"
    22 #endif
    24 #if defined(__arm__) && defined(__ARM_EABI__)
    25 #include "arm_linux_syscalls.h"
    26 #endif
    28 #endif  // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_

mercurial