Commit 86cfc5ee authored by jorgelo@chromium.org's avatar jorgelo@chromium.org

Add full ARM syscall list.

BUG=141157
TEST=Build and boot on daisy, check about:sandbox for "Seccomp-BPF Yes".


Review URL: https://chromiumcodereview.appspot.com/10837316

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152448 0039d316-1c4b-4281-b951-d872f2087c98
parent 211b80bf
...@@ -32,13 +32,7 @@ ...@@ -32,13 +32,7 @@
#if defined(SECCOMP_BPF_SANDBOX) #if defined(SECCOMP_BPF_SANDBOX)
#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h" #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
#include "sandbox/linux/services/linux_syscalls.h"
#if defined(__i386__) || defined(__x86_64__)
#include "sandbox/linux/services/x86_linux_syscalls.h"
#elif defined(__arm__)
// This file doesn't yet list all syscalls.
#include "sandbox/linux/services/arm_linux_syscalls.h"
#endif
namespace { namespace {
......
This diff is collapsed.
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
// policies even when system headers are old. // policies even when system headers are old.
// System call numbers are accessible through __NR_syscall_name. // System call numbers are accessible through __NR_syscall_name.
#ifndef SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_ #ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
#define SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_ #define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
#if defined(__x86_64__) #if defined(__x86_64__)
#include "sandbox/linux/services/x86_64_linux_syscalls.h" #include "sandbox/linux/services/x86_64_linux_syscalls.h"
...@@ -17,5 +17,9 @@ ...@@ -17,5 +17,9 @@
#include "sandbox/linux/services/x86_32_linux_syscalls.h" #include "sandbox/linux/services/x86_32_linux_syscalls.h"
#endif #endif
#endif // SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_ #if defined(__arm__) && defined(__ARM_EABI__)
#include "sandbox/linux/services/arm_linux_syscalls.h"
#endif
#endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment