| 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 27 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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__ */ |
| OLD | NEW |