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

Side by Side Diff: src/trusted/service_runtime/nacl_syscall_common.h

Issue 12209042: Ensure syscall functions are consistently prefixed with "NaClSys" (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 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 | Annotate | Revision Log
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 15 matching lines...) Expand all
26 struct NaClDesc; 26 struct NaClDesc;
27 struct NaClImcMsgHdr; 27 struct NaClImcMsgHdr;
28 struct nacl_abi_stat; 28 struct nacl_abi_stat;
29 29
30 int32_t NaClSysNotImplementedDecoder(struct NaClAppThread *natp); 30 int32_t NaClSysNotImplementedDecoder(struct NaClAppThread *natp);
31 31
32 void NaClAddSyscall(int num, int32_t (*fn)(struct NaClAppThread *)); 32 void NaClAddSyscall(int num, int32_t (*fn)(struct NaClAppThread *));
33 33
34 int32_t NaClSysNull(struct NaClAppThread *natp); 34 int32_t NaClSysNull(struct NaClAppThread *natp);
35 35
36 int32_t NaClSetBreak(struct NaClAppThread *natp, 36 int32_t NaClSysBrk(struct NaClAppThread *natp,
37 uintptr_t new_break); 37 uintptr_t new_break);
38 38
39 int NaClHighResolutionTimerEnabled(void); 39 int NaClHighResolutionTimerEnabled(void);
40 40
41 int32_t NaClOpenAclCheck(struct NaClApp *nap, 41 int32_t NaClOpenAclCheck(struct NaClApp *nap,
42 char const *path, 42 char const *path,
43 int flags, 43 int flags,
44 int mode); 44 int mode);
45 45
46 int32_t NaClStatAclCheck(struct NaClApp *nap, 46 int32_t NaClStatAclCheck(struct NaClApp *nap,
47 char const *path); 47 char const *path);
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 int32_t NaClSysExceptionClearFlag(struct NaClAppThread *natp); 276 int32_t NaClSysExceptionClearFlag(struct NaClAppThread *natp);
277 277
278 int32_t NaClSysTestInfoLeak(struct NaClAppThread *natp); 278 int32_t NaClSysTestInfoLeak(struct NaClAppThread *natp);
279 279
280 int32_t NaClSysTestCrash(struct NaClAppThread *natp, int crash_type); 280 int32_t NaClSysTestCrash(struct NaClAppThread *natp, int crash_type);
281 281
282 EXTERN_C_END 282 EXTERN_C_END
283 283
284 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYSCALL_COMMON_H__ */ 284 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYSCALL_COMMON_H__ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/include/bits/nacl_syscalls.h ('k') | src/trusted/service_runtime/nacl_syscall_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698