|
|
change native_client/.../sys/mman.h to native_client/.../bits/mman.h
A bunch of code included sys/mman.h where mprotect and friends are
declared, when they really only need the NACL_ABI_* definitions for
PROT_* macros. This wasn't a problem since the declarations in
mman.h, even though they didn't have nacl_abi_ prefixes, are standard
POSIX type signatures, but in some compilation environments we're
seeing additional const attributes used in the system header files,
resulting in compile-time errors. This CL removes all uses of
native_client/src/.../sys/mman.h from the TCB.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=3053
TEST= it builds
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=9892
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+28 lines, -28 lines) |
Patch |
 |
M |
src/shared/imc/win/nacl_shm.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/shared/platform/linux/nacl_host_dir.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/shared/platform/osx/nacl_host_dir.c
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/shared/platform/win/nacl_host_dir.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/linux/nacl_desc_sysv_shm.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_base.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_cond.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_dir.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_imc_shm.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_io.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_mutex.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/desc/nacl_desc_semaphore.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/gio/gio_shm.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/gio/gio_shm_test.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/gio/gio_shm_unbounded_test.c
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/include/sys/mman.h
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/mmap_test.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/nacl_syscall_common.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/nacl_text.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|