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

Side by Side Diff: src/trusted/gio/gio_shm_test.c

Issue 10981077: change native_client/.../sys/mman.h to native_client/.../bits/mman.h (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 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/gio/gio_shm.c ('k') | src/trusted/gio/gio_shm_unbounded_test.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 (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 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include "native_client/src/include/portability.h" 10 #include "native_client/src/include/portability.h"
11 11
12 #include "native_client/src/shared/platform/nacl_check.h" 12 #include "native_client/src/shared/platform/nacl_check.h"
13 13
14 #include "native_client/src/trusted/desc/nacl_desc_base.h" 14 #include "native_client/src/trusted/desc/nacl_desc_base.h"
15 #include "native_client/src/trusted/desc/nacl_desc_imc_shm.h" 15 #include "native_client/src/trusted/desc/nacl_desc_imc_shm.h"
16 #include "native_client/src/trusted/desc/nacl_desc_effector_trusted_mem.h" 16 #include "native_client/src/trusted/desc/nacl_desc_effector_trusted_mem.h"
17 17
18 #include "native_client/src/trusted/service_runtime/include/bits/mman.h"
18 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" 19 #include "native_client/src/trusted/service_runtime/include/sys/errno.h"
19 #include "native_client/src/trusted/service_runtime/include/sys/mman.h"
20 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" 20 #include "native_client/src/trusted/service_runtime/include/sys/stat.h"
21 #include "native_client/src/trusted/gio/gio_shm.h" 21 #include "native_client/src/trusted/gio/gio_shm.h"
22 #include "native_client/src/trusted/desc/nrd_all_modules.h" 22 #include "native_client/src/trusted/desc/nrd_all_modules.h"
23 #include "native_client/src/trusted/service_runtime/nacl_config.h" 23 #include "native_client/src/trusted/service_runtime/nacl_config.h"
24 24
25 #define NCHUNKS 3 25 #define NCHUNKS 3
26 26
27 #define MAX_CHECK (4096) 27 #define MAX_CHECK (4096)
28 28
29 int gVerbose = 0; 29 int gVerbose = 0;
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 440
441 NaClNrdAllModulesFini(); 441 NaClNrdAllModulesFini();
442 if (0 != errs) { 442 if (0 != errs) {
443 printf("FAILED\n"); 443 printf("FAILED\n");
444 return EXIT_FAILURE; 444 return EXIT_FAILURE;
445 } else { 445 } else {
446 printf("PASSED\n"); 446 printf("PASSED\n");
447 return EXIT_SUCCESS; 447 return EXIT_SUCCESS;
448 } 448 }
449 } 449 }
OLDNEW
« no previous file with comments | « src/trusted/gio/gio_shm.c ('k') | src/trusted/gio/gio_shm_unbounded_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698