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

Side by Side Diff: src/untrusted/nacl/syscall_bindings_trampoline.h

Issue 891603002: Removes the name service from the service runtime (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixes code review comments Created 5 years, 10 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
« no previous file with comments | « src/untrusted/nacl/nameservice.c ('k') | tests/nameservice/nacl.scons » ('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) 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 * TODO(bradchen): figure out where to move this include file and then 7 * TODO(bradchen): figure out where to move this include file and then
8 * move it. 8 * move it.
9 */ 9 */
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 __sysret = _expr; \ 55 __sysret = _expr; \
56 IRT_post_irtcall_hook(); \ 56 IRT_post_irtcall_hook(); \
57 __sysret; \ 57 __sysret; \
58 }) 58 })
59 #endif 59 #endif
60 60
61 /* ============================================================ */ 61 /* ============================================================ */
62 /* files */ 62 /* files */
63 /* ============================================================ */ 63 /* ============================================================ */
64 64
65 typedef int (*TYPE_nacl_nameservice)(int *desc_in_out);
66
67 typedef int (*TYPE_nacl_dup)(int oldfd); 65 typedef int (*TYPE_nacl_dup)(int oldfd);
68 66
69 typedef int (*TYPE_nacl_dup2)(int oldfd, int newfd); 67 typedef int (*TYPE_nacl_dup2)(int oldfd, int newfd);
70 68
71 typedef int (*TYPE_nacl_read) (int desc, void *buf, size_t count); 69 typedef int (*TYPE_nacl_read) (int desc, void *buf, size_t count);
72 70
73 typedef int (*TYPE_nacl_close) (int desc); 71 typedef int (*TYPE_nacl_close) (int desc);
74 72
75 typedef int (*TYPE_nacl_fstat) (int fd, struct stat *stbp); 73 typedef int (*TYPE_nacl_fstat) (int fd, struct stat *stbp);
76 74
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 264
267 typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake); 265 typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake);
268 266
269 typedef int (*TYPE_nacl_get_random_bytes) (void *buf, size_t buf_size); 267 typedef int (*TYPE_nacl_get_random_bytes) (void *buf, size_t buf_size);
270 268
271 #if defined(__cplusplus) 269 #if defined(__cplusplus)
272 } 270 }
273 #endif 271 #endif
274 272
275 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ 273 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */
OLDNEW
« no previous file with comments | « src/untrusted/nacl/nameservice.c ('k') | tests/nameservice/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698