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

Side by Side Diff: src/nonsfi/linux/linux_syscalls.h

Issue 744803003: Non-SFI mode: Add syscalls which are needed for nacl_helper_nonsfi's sandbox. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « src/nonsfi/linux/linux_sys_private.c ('k') | tests/nonsfi/file_descriptor_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALLS_H_ 7 #ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALLS_H_
8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALLS_H_ 1 8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALLS_H_ 1
9 9
10 /* Definitions of Linux syscall numbers. */ 10 /* Definitions of Linux syscall numbers. */
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 # define __NR_truncate64 193 51 # define __NR_truncate64 193
52 # define __NR_stat64 195 52 # define __NR_stat64 195
53 # define __NR_lstat64 196 53 # define __NR_lstat64 196
54 # define __NR_fstat64 197 54 # define __NR_fstat64 197
55 # define __NR_fcntl64 221 55 # define __NR_fcntl64 221
56 # define __NR_futex 240 56 # define __NR_futex 240
57 # define __NR_set_thread_area 243 57 # define __NR_set_thread_area 243
58 # define __NR_exit_group 252 58 # define __NR_exit_group 252
59 # define __NR_clock_gettime 265 59 # define __NR_clock_gettime 265
60 # define __NR_clock_getres 266 60 # define __NR_clock_getres 266
61 # define __NR_openat 295
62 # define __NR_fstatat64 300
61 63
62 #define SYS_SOCKETPAIR 8 64 #define SYS_SOCKETPAIR 8
63 #define SYS_SHUTDOWN 13 65 #define SYS_SHUTDOWN 13
64 #define SYS_SENDMSG 16 66 #define SYS_SENDMSG 16
65 #define SYS_RECVMSG 17 67 #define SYS_RECVMSG 17
66 68
67 #elif defined(__arm__) 69 #elif defined(__arm__)
68 70
69 # define __NR_exit 1 71 # define __NR_exit 1
70 # define __NR_read 3 72 # define __NR_read 3
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 # define __NR_fstat64 197 110 # define __NR_fstat64 197
109 # define __NR_fcntl64 221 111 # define __NR_fcntl64 221
110 # define __NR_futex 240 112 # define __NR_futex 240
111 # define __NR_exit_group 248 113 # define __NR_exit_group 248
112 # define __NR_clock_gettime 263 114 # define __NR_clock_gettime 263
113 # define __NR_clock_getres 264 115 # define __NR_clock_getres 264
114 # define __NR_socketpair 288 116 # define __NR_socketpair 288
115 # define __NR_shutdown 293 117 # define __NR_shutdown 293
116 # define __NR_sendmsg 296 118 # define __NR_sendmsg 296
117 # define __NR_recvmsg 297 119 # define __NR_recvmsg 297
120 # define __NR_openat 322
121 # define __NR_fstatat64 327
118 # define __NR_ARM_set_tls 0xf0005 122 # define __NR_ARM_set_tls 0xf0005
119 123
120 #else 124 #else
121 # error Unsupported architecture 125 # error Unsupported architecture
122 #endif 126 #endif
123 127
124 #endif 128 #endif
OLDNEW
« no previous file with comments | « src/nonsfi/linux/linux_sys_private.c ('k') | tests/nonsfi/file_descriptor_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698