| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2015 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_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ | 7 #ifndef NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ |
| 8 #define NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ 1 | 8 #define NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_SYSCALLS_H_ 1 |
| 9 | 9 |
| 10 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 # define __NR_pwrite64 181 | 64 # define __NR_pwrite64 181 |
| 65 # define __NR_getcwd 183 | 65 # define __NR_getcwd 183 |
| 66 # define __NR_ugetrlimit 191 | 66 # define __NR_ugetrlimit 191 |
| 67 # define __NR_mmap2 192 | 67 # define __NR_mmap2 192 |
| 68 # define __NR_truncate64 193 | 68 # define __NR_truncate64 193 |
| 69 # define __NR_stat64 195 | 69 # define __NR_stat64 195 |
| 70 # define __NR_lstat64 196 | 70 # define __NR_lstat64 196 |
| 71 # define __NR_fstat64 197 | 71 # define __NR_fstat64 197 |
| 72 # define __NR_getdents64 220 | 72 # define __NR_getdents64 220 |
| 73 # define __NR_fcntl64 221 | 73 # define __NR_fcntl64 221 |
| 74 # define __NR_gettid 224 |
| 74 # define __NR_futex 240 | 75 # define __NR_futex 240 |
| 75 # define __NR_set_thread_area 243 | 76 # define __NR_set_thread_area 243 |
| 76 # define __NR_exit_group 252 | 77 # define __NR_exit_group 252 |
| 77 # define __NR_clock_gettime 265 | 78 # define __NR_clock_gettime 265 |
| 78 # define __NR_clock_getres 266 | 79 # define __NR_clock_getres 266 |
| 80 # define __NR_tgkill 270 |
| 79 # define __NR_utimes 271 | 81 # define __NR_utimes 271 |
| 80 # define __NR_openat 295 | 82 # define __NR_openat 295 |
| 81 # define __NR_fstatat64 300 | 83 # define __NR_fstatat64 300 |
| 82 | 84 |
| 83 #elif defined(__arm__) | 85 #elif defined(__arm__) |
| 84 | 86 |
| 85 # define __NR_exit 1 | 87 # define __NR_exit 1 |
| 86 # define __NR_read 3 | 88 # define __NR_read 3 |
| 87 # define __NR_write 4 | 89 # define __NR_write 4 |
| 88 # define __NR_open 5 | 90 # define __NR_open 5 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 # define __NR_pwrite64 181 | 126 # define __NR_pwrite64 181 |
| 125 # define __NR_getcwd 183 | 127 # define __NR_getcwd 183 |
| 126 # define __NR_ugetrlimit 191 | 128 # define __NR_ugetrlimit 191 |
| 127 # define __NR_mmap2 192 | 129 # define __NR_mmap2 192 |
| 128 # define __NR_truncate64 193 | 130 # define __NR_truncate64 193 |
| 129 # define __NR_stat64 195 | 131 # define __NR_stat64 195 |
| 130 # define __NR_lstat64 196 | 132 # define __NR_lstat64 196 |
| 131 # define __NR_fstat64 197 | 133 # define __NR_fstat64 197 |
| 132 # define __NR_getdents64 217 | 134 # define __NR_getdents64 217 |
| 133 # define __NR_fcntl64 221 | 135 # define __NR_fcntl64 221 |
| 136 # define __NR_gettid 224 |
| 134 # define __NR_futex 240 | 137 # define __NR_futex 240 |
| 135 # define __NR_exit_group 248 | 138 # define __NR_exit_group 248 |
| 136 # define __NR_clock_gettime 263 | 139 # define __NR_clock_gettime 263 |
| 137 # define __NR_clock_getres 264 | 140 # define __NR_clock_getres 264 |
| 141 # define __NR_tgkill 268 |
| 138 # define __NR_utimes 271 | 142 # define __NR_utimes 271 |
| 139 # define __NR_socketpair 288 | 143 # define __NR_socketpair 288 |
| 140 # define __NR_shutdown 293 | 144 # define __NR_shutdown 293 |
| 141 # define __NR_sendmsg 296 | 145 # define __NR_sendmsg 296 |
| 142 # define __NR_recvmsg 297 | 146 # define __NR_recvmsg 297 |
| 143 # define __NR_openat 322 | 147 # define __NR_openat 322 |
| 144 # define __NR_fstatat64 327 | 148 # define __NR_fstatat64 327 |
| 145 # define __NR_ARM_cacheflush 0xf0002 | 149 # define __NR_ARM_cacheflush 0xf0002 |
| 146 # define __NR_ARM_set_tls 0xf0005 | 150 # define __NR_ARM_set_tls 0xf0005 |
| 147 | 151 |
| 148 #else | 152 #else |
| 149 # error Unsupported architecture | 153 # error Unsupported architecture |
| 150 #endif | 154 #endif |
| 151 | 155 |
| 152 #endif | 156 #endif |
| OLD | NEW |