OLD | NEW |
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 Loading... |
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 Loading... |
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__ */ |
OLD | NEW |