Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: sandbox/linux/services/arm_linux_syscalls.h

Issue 10830348: Add ARM syscalls to syscall sets. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add EABI guard and comment. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/sandbox_seccomp_bpf_linux.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Generated from the Linux kernel's calls.S. 5 // Generated from the Linux kernel's calls.S.
6 #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ 6 #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_
7 #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ 7 #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_
8 8
9 // This file doesn't yet list all syscalls. 9 // This file doesn't yet list all syscalls.
10 // TODO(jorgelo): define all ARM syscalls. 10 // TODO(jorgelo): define all ARM syscalls.
11 11
12 #if !defined(__arm__) 12 #if !defined(__arm__)
13 #error "Including header on wrong architecture" 13 #error "Including header on wrong architecture"
14 #endif 14 #endif
15 15
16 // __NR_SYSCALL_BASE is defined in <asm/unistd.h>. 16 // __NR_SYSCALL_BASE is defined in <asm/unistd.h>.
17 #include <asm/unistd.h> 17 #include <asm/unistd.h>
18 18
19 #ifndef __NR_process_vm_readv 19 #ifndef __NR_process_vm_readv
20 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) 20 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376)
21 #endif 21 #endif
22 22
23 #ifndef __NR_process_vm_writev 23 #ifndef __NR_process_vm_writev
24 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) 24 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377)
25 #endif 25 #endif
26 26
27 #ifndef __ARM_NR_cmpxchg
28 #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0)
29 #endif
30
27 #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ 31 #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_
28 32
OLDNEW
« no previous file with comments | « content/common/sandbox_seccomp_bpf_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698