| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 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 /* | 7 /* |
| 8 * NaCl kernel / service run-time system call numbers | 8 * NaCl kernel / service run-time system call numbers |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_NACL_SYSCALLS_H_ | 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_NACL_SYSCALLS_H_ |
| 12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_NACL_SYSCALLS_H_ | 12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_NACL_SYSCALLS_H_ |
| 13 | 13 |
| 14 /* intentionally not using zero */ | 14 /* intentionally not using zero */ |
| 15 | 15 |
| 16 /* | 16 /* |
| 17 * TODO(bsy,sehr): these identifiers should be NACL_ABI_SYS_<name>. | 17 * TODO(bsy,sehr): these identifiers should be NACL_ABI_SYS_<name>. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #define NACL_sys_null 1 | 20 #define NACL_sys_null 1 |
| 21 #define NACL_sys_nameservice 2 | |
| 22 | 21 |
| 23 #define NACL_sys_dup 8 | 22 #define NACL_sys_dup 8 |
| 24 #define NACL_sys_dup2 9 | 23 #define NACL_sys_dup2 9 |
| 25 #define NACL_sys_open 10 | 24 #define NACL_sys_open 10 |
| 26 #define NACL_sys_close 11 | 25 #define NACL_sys_close 11 |
| 27 #define NACL_sys_read 12 | 26 #define NACL_sys_read 12 |
| 28 #define NACL_sys_write 13 | 27 #define NACL_sys_write 13 |
| 29 #define NACL_sys_lseek 14 | 28 #define NACL_sys_lseek 14 |
| 30 /* 15 used to be ioctl */ | 29 /* 15 used to be ioctl */ |
| 31 #define NACL_sys_stat 16 | 30 #define NACL_sys_stat 16 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 #define NACL_sys_symlink 144 | 123 #define NACL_sys_symlink 144 |
| 125 #define NACL_sys_access 145 | 124 #define NACL_sys_access 145 |
| 126 #define NACL_sys_readlink 146 | 125 #define NACL_sys_readlink 146 |
| 127 #define NACL_sys_utimes 147 | 126 #define NACL_sys_utimes 147 |
| 128 | 127 |
| 129 #define NACL_sys_get_random_bytes 150 | 128 #define NACL_sys_get_random_bytes 150 |
| 130 | 129 |
| 131 #define NACL_MAX_SYSCALLS 151 | 130 #define NACL_MAX_SYSCALLS 151 |
| 132 | 131 |
| 133 #endif | 132 #endif |
| OLD | NEW |