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

Side by Side Diff: src/untrusted/nacl/nameservice.c

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/nacl.scons ('k') | src/untrusted/nacl/syscall_bindings_trampoline.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #include <errno.h>
8
9 #include "native_client/src/untrusted/nacl/syscall_bindings_trampoline.h"
10
11 int nacl_nameservice(int *desc_in_out) {
12 int retval = NACL_SYSCALL(nameservice)(desc_in_out);
13 if (retval < 0) {
14 errno = -retval;
15 return -1;
16 }
17 return 0;
18 }
OLDNEW
« no previous file with comments | « src/untrusted/nacl/nacl.scons ('k') | src/untrusted/nacl/syscall_bindings_trampoline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698