| OLD | NEW |
| 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 Loading... |
| 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 |
| 63 # define __NR_pipe2 331 |
| 61 | 64 |
| 62 #define SYS_SOCKETPAIR 8 | 65 #define SYS_SOCKETPAIR 8 |
| 63 #define SYS_SHUTDOWN 13 | 66 #define SYS_SHUTDOWN 13 |
| 64 #define SYS_SENDMSG 16 | 67 #define SYS_SENDMSG 16 |
| 65 #define SYS_RECVMSG 17 | 68 #define SYS_RECVMSG 17 |
| 66 | 69 |
| 67 #elif defined(__arm__) | 70 #elif defined(__arm__) |
| 68 | 71 |
| 69 # define __NR_exit 1 | 72 # define __NR_exit 1 |
| 70 # define __NR_read 3 | 73 # define __NR_read 3 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 # define __NR_fstat64 197 | 111 # define __NR_fstat64 197 |
| 109 # define __NR_fcntl64 221 | 112 # define __NR_fcntl64 221 |
| 110 # define __NR_futex 240 | 113 # define __NR_futex 240 |
| 111 # define __NR_exit_group 248 | 114 # define __NR_exit_group 248 |
| 112 # define __NR_clock_gettime 263 | 115 # define __NR_clock_gettime 263 |
| 113 # define __NR_clock_getres 264 | 116 # define __NR_clock_getres 264 |
| 114 # define __NR_socketpair 288 | 117 # define __NR_socketpair 288 |
| 115 # define __NR_shutdown 293 | 118 # define __NR_shutdown 293 |
| 116 # define __NR_sendmsg 296 | 119 # define __NR_sendmsg 296 |
| 117 # define __NR_recvmsg 297 | 120 # define __NR_recvmsg 297 |
| 121 # define __NR_openat 322 |
| 122 # define __NR_fstatat64 327 |
| 123 # define __NR_pipe2 359 |
| 118 # define __NR_ARM_set_tls 0xf0005 | 124 # define __NR_ARM_set_tls 0xf0005 |
| 119 | 125 |
| 120 #else | 126 #else |
| 121 # error Unsupported architecture | 127 # error Unsupported architecture |
| 122 #endif | 128 #endif |
| 123 | 129 |
| 124 #endif | 130 #endif |
| OLD | NEW |