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

Side by Side Diff: src/trusted/service_runtime/include/bits/nacl_syscalls.h

Issue 1235633004: DON'T USE THIS -- Providing some missing POSIX File syscalls. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 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
OLDNEW
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
(...skipping 13 matching lines...) Expand all
24 #define NACL_sys_open 10 24 #define NACL_sys_open 10
25 #define NACL_sys_close 11 25 #define NACL_sys_close 11
26 #define NACL_sys_read 12 26 #define NACL_sys_read 12
27 #define NACL_sys_write 13 27 #define NACL_sys_write 13
28 #define NACL_sys_lseek 14 28 #define NACL_sys_lseek 14
29 /* 15 used to be ioctl */ 29 /* 15 used to be ioctl */
30 #define NACL_sys_stat 16 30 #define NACL_sys_stat 16
31 #define NACL_sys_fstat 17 31 #define NACL_sys_fstat 17
32 #define NACL_sys_chmod 18 32 #define NACL_sys_chmod 18
33 #define NACL_sys_isatty 19 33 #define NACL_sys_isatty 19
34 /* no fchmod emulation on windows */
35 34
36 #define NACL_sys_brk 20 35 #define NACL_sys_brk 20
37 #define NACL_sys_mmap 21 36 #define NACL_sys_mmap 21
38 #define NACL_sys_munmap 22 37 #define NACL_sys_munmap 22
39 38
40 #define NACL_sys_getdents 23 39 #define NACL_sys_getdents 23
41 40
42 #define NACL_sys_mprotect 24 41 #define NACL_sys_mprotect 24
43 42
44 #define NACL_sys_list_mappings 25 43 #define NACL_sys_list_mappings 25
45 44
45 #define NACL_sys_fsync 26
46 #define NACL_sys_fdatasync 27
47 #define NACL_sys_fchmod 28
48
46 #define NACL_sys_exit 30 49 #define NACL_sys_exit 30
47 #define NACL_sys_getpid 31 50 #define NACL_sys_getpid 31
48 #define NACL_sys_sched_yield 32 51 #define NACL_sys_sched_yield 32
49 #define NACL_sys_sysconf 33 52 #define NACL_sys_sysconf 33
50 53
51 #define NACL_sys_gettimeofday 40 54 #define NACL_sys_gettimeofday 40
52 #define NACL_sys_clock 41 55 #define NACL_sys_clock 41
53 #define NACL_sys_nanosleep 42 56 #define NACL_sys_nanosleep 42
54 #define NACL_sys_clock_getres 43 57 #define NACL_sys_clock_getres 43
55 #define NACL_sys_clock_gettime 44 58 #define NACL_sys_clock_gettime 44
56 59
57 #define NACL_sys_mkdir 45 60 #define NACL_sys_mkdir 45
58 #define NACL_sys_rmdir 46 61 #define NACL_sys_rmdir 46
59 #define NACL_sys_chdir 47 62 #define NACL_sys_chdir 47
60 #define NACL_sys_getcwd 48 63 #define NACL_sys_getcwd 48
61 #define NACL_sys_unlink 49 64 #define NACL_sys_unlink 49
65 #define NACL_sys_fchdir 50
66
67 #define NACL_sys_ftruncate 52
62 68
63 /* 50-58 previously used for multimedia syscalls */ 69 /* 50-58 previously used for multimedia syscalls */
64 70
65 #define NACL_sys_imc_makeboundsock 60 71 #define NACL_sys_imc_makeboundsock 60
66 #define NACL_sys_imc_accept 61 72 #define NACL_sys_imc_accept 61
67 #define NACL_sys_imc_connect 62 73 #define NACL_sys_imc_connect 62
68 #define NACL_sys_imc_sendmsg 63 74 #define NACL_sys_imc_sendmsg 63
69 #define NACL_sys_imc_recvmsg 64 75 #define NACL_sys_imc_recvmsg 64
70 #define NACL_sys_imc_mem_obj_create 65 76 #define NACL_sys_imc_mem_obj_create 65
71 #define NACL_sys_imc_socketpair 66 77 #define NACL_sys_imc_socketpair 66
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 #define NACL_sys_symlink 144 129 #define NACL_sys_symlink 144
124 #define NACL_sys_access 145 130 #define NACL_sys_access 145
125 #define NACL_sys_readlink 146 131 #define NACL_sys_readlink 146
126 #define NACL_sys_utimes 147 132 #define NACL_sys_utimes 147
127 133
128 #define NACL_sys_get_random_bytes 150 134 #define NACL_sys_get_random_bytes 150
129 135
130 #define NACL_MAX_SYSCALLS 151 136 #define NACL_MAX_SYSCALLS 151
131 137
132 #endif 138 #endif
OLDNEW
« no previous file with comments | « src/trusted/desc/posix/nacl_desc_imc_bound_desc.c ('k') | src/trusted/service_runtime/include/sys/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698