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

Side by Side Diff: src/trusted/service_runtime/nacl_syscall_common.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
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 service run-time, non-platform specific system call helper routines. 8 * NaCl service run-time, non-platform specific system call helper routines.
9 */ 9 */
10 10
(...skipping 27 matching lines...) Expand all
38 int32_t NaClSysExit(struct NaClAppThread *natp, 38 int32_t NaClSysExit(struct NaClAppThread *natp,
39 int status); 39 int status);
40 40
41 int32_t NaClSysThreadExit(struct NaClAppThread *natp, 41 int32_t NaClSysThreadExit(struct NaClAppThread *natp,
42 uint32_t stack_flag_addr); 42 uint32_t stack_flag_addr);
43 43
44 extern int NaClAclBypassChecks; 44 extern int NaClAclBypassChecks;
45 45
46 void NaClInsecurelyBypassAllAclChecks(void); 46 void NaClInsecurelyBypassAllAclChecks(void);
47 47
48 int32_t NaClSysNameService(struct NaClAppThread *natp,
49 uint32_t desc_addr);
50
51 /* bool */ 48 /* bool */
52 int NaClSysCommonAddrRangeContainsExecutablePages(struct NaClApp *nap, 49 int NaClSysCommonAddrRangeContainsExecutablePages(struct NaClApp *nap,
53 uintptr_t usraddr, 50 uintptr_t usraddr,
54 size_t length); 51 size_t length);
55 52
56 /* bool */ 53 /* bool */
57 int NaClSysCommonAddrRangeInAllowedDynamicCodeSpace(struct NaClApp *nap, 54 int NaClSysCommonAddrRangeInAllowedDynamicCodeSpace(struct NaClApp *nap,
58 uintptr_t usraddr, 55 uintptr_t usraddr,
59 size_t length); 56 size_t length);
60 57
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 int32_t name, 142 int32_t name,
146 uint32_t result_addr); 143 uint32_t result_addr);
147 144
148 int32_t NaClSysTestInfoLeak(struct NaClAppThread *natp); 145 int32_t NaClSysTestInfoLeak(struct NaClAppThread *natp);
149 146
150 int32_t NaClSysTestCrash(struct NaClAppThread *natp, int crash_type); 147 int32_t NaClSysTestCrash(struct NaClAppThread *natp, int crash_type);
151 148
152 EXTERN_C_END 149 EXTERN_C_END
153 150
154 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYSCALL_COMMON_H__ */ 151 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYSCALL_COMMON_H__ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/nacl_bootstrap_channel_error_reporter.c ('k') | src/trusted/service_runtime/nacl_syscall_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698