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

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

Issue 3539011: Enable check for DEP / NX page protection (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Modify windows check to use Noel's signal interface Created 10 years, 2 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
« no previous file with comments | « src/trusted/sel_universal/sel_universal.c ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2008 The Native Client Authors. All rights reserved. 2 * Copyright 2008 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl error codes. 8 * NaCl error codes.
9 */ 9 */
10 10
11 #ifndef SERVICE_RUNTIME_NACL_ERROR_CODE_H__ 11 #ifndef SERVICE_RUNTIME_NACL_ERROR_CODE_H__
12 #define SERVICE_RUNTIME_NACL_ERROR_CODE_H__ 1 12 #define SERVICE_RUNTIME_NACL_ERROR_CODE_H__ 1
13 13
14 #ifdef __cplusplus 14 #ifdef __cplusplus
15 extern "C" { 15 extern "C" {
16 #endif 16 #endif
17 17
18 typedef enum NaClErrorCode { 18 typedef enum NaClErrorCode {
19 LOAD_OK, 19 LOAD_OK,
20 LOAD_STATUS_UNKNOWN, /* load status not available yet */ 20 LOAD_STATUS_UNKNOWN, /* load status not available yet */
21 LOAD_UNSUPPORTED_OS_PLATFORM, 21 LOAD_UNSUPPORTED_OS_PLATFORM,
22 LOAD_DEP_UNSUPPORTED,
22 LOAD_INTERNAL, 23 LOAD_INTERNAL,
23 LOAD_READ_ERROR, 24 LOAD_READ_ERROR,
24 LOAD_TOO_MANY_PROG_HDRS, 25 LOAD_TOO_MANY_PROG_HDRS,
25 LOAD_PROG_HDR_SIZE_TOO_SMALL, 26 LOAD_PROG_HDR_SIZE_TOO_SMALL,
26 LOAD_BAD_ELF_MAGIC, 27 LOAD_BAD_ELF_MAGIC,
27 LOAD_NOT_32_BIT, 28 LOAD_NOT_32_BIT,
28 LOAD_NOT_64_BIT, 29 LOAD_NOT_64_BIT,
29 LOAD_BAD_ABI, 30 LOAD_BAD_ABI,
30 LOAD_NOT_EXEC, 31 LOAD_NOT_EXEC,
31 LOAD_BAD_MACHINE, 32 LOAD_BAD_MACHINE,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 char const *NaClErrorString(NaClErrorCode errcode); 80 char const *NaClErrorString(NaClErrorCode errcode);
80 81
81 /* deprecated */ 82 /* deprecated */
82 char const *NaClAppLoadErrorString(NaClErrorCode errcode); 83 char const *NaClAppLoadErrorString(NaClErrorCode errcode);
83 84
84 #ifdef __cplusplus 85 #ifdef __cplusplus
85 } /* end of extern "C" */ 86 } /* end of extern "C" */
86 #endif 87 #endif
87 88
88 #endif 89 #endif
OLDNEW
« no previous file with comments | « src/trusted/sel_universal/sel_universal.c ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698