/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 45 {.flags = MAP_SHARED,.prot = PROT_EXEC}, 47 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC}, 48 {.flags = MAP_SHARED,.prot = PROT_EXEC | PROT_WRITE}, 49 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 54 {.flags = MAP_PRIVATE,.prot = PROT_EXEC}, 56 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_EXEC}, 57 {.flags = MAP_PRIVATE,.prot = PROT_EXEC | PROT_WRITE}, 58 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 74 if (t->prot & PROT_EXEC) in print_error()
|
/external/compiler-rt/lib/profile/ |
D | WindowsMMap.c | 34 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) in mmap() 44 if (prot & PROT_EXEC) in mmap() 48 } else if (prot & PROT_EXEC) { in mmap() 51 else if (prot & PROT_EXEC) in mmap() 71 if (prot & PROT_EXEC) in mmap()
|
D | WindowsMMap.h | 24 #define PROT_EXEC 0x0 macro
|
/external/autotest/client/site_tests/security_mprotect/ |
D | control | 7 PURPOSE = "Verify mprotect+PROT_EXEC works on noexec filesystem" 8 CRITERIA = "Fails if PROT_EXEC cannot be mapped on noexec filesystem" 17 Checks that mprotect can use PROT_EXEC on noexec filesystems,
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 2-3-buildonly.c | 19 #ifndef PROT_EXEC 20 #error PROT_EXEC not defined
|
/external/strace/xlat/ |
D | mmap_prot.h | 20 #if defined(PROT_EXEC) || (defined(HAVE_DECL_PROT_EXEC) && HAVE_DECL_PROT_EXEC) 21 XLAT(PROT_EXEC),
|
D | mmap_prot.in | 4 PROT_EXEC
|
/external/valgrind/memcheck/tests/ |
D | mempool.c | 37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 40 PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 59 PROT_READ|PROT_WRITE|PROT_EXEC, in push()
|
D | mempool2.c | 40 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 43 PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 62 PROT_READ|PROT_WRITE|PROT_EXEC, in push()
|
/external/autotest/client/site_tests/security_mprotect/src/ |
D | prot_exec.c | 43 PROT_READ | PROT_EXEC, MAP_SHARED, in main() 51 if (mprotect(areaex, sizeof(int), PROT_READ | PROT_EXEC)) in main()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Memory.inc | 52 return PROT_READ | PROT_EXEC; 55 return PROT_READ | PROT_WRITE | PROT_EXEC; 65 return PROT_READ | PROT_EXEC; 67 return PROT_EXEC; 196 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_EXEC, 199 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 52 return PROT_READ | PROT_EXEC; 55 return PROT_READ | PROT_WRITE | PROT_EXEC; 65 return PROT_READ | PROT_EXEC; 67 return PROT_EXEC; 209 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_EXEC, 212 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/v8/src/base/platform/ |
D | platform-openbsd.cc | 61 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 146 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC() 258 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-linux.cc | 115 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 199 void* addr = mmap(OS::GetRandomMmapAddr(), size, PROT_READ | PROT_EXEC, in SignalCodeMovingGC() 299 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-solaris.cc | 58 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 179 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-macos.cc | 58 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 222 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
/external/libunwind/src/ |
D | os-linux.c | 81 && (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ) in map_create_list()
|
/external/valgrind/none/tests/ |
D | munmap_exe.c | 14 m = mmap(NULL, 100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in main()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile04.c | 89 PROT_EXEC, PASS_MAPPED_BUFFER}, { 90 PROT_EXEC | PROT_READ, PASS_MAPPED_BUFFER}, {
|
/external/strace/tests-m32/ |
D | remap_file_pages.c | 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; in main()
|
/external/strace/tests-mx32/ |
D | remap_file_pages.c | 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; in main()
|
/external/strace/tests/ |
D | remap_file_pages.c | 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; in main()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | closures.c | 451 ptr = mmap (NULL, length, (prot & ~PROT_WRITE) | PROT_EXEC, in dlmmap_locked() 502 ptr = mmap (start, length, prot & ~PROT_EXEC, flags, fd, offset); in dlmmap() 508 ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset); in dlmmap()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | mman-common.h | 11 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/external/libchrome/base/memory/ |
D | shared_memory_android.cc | 41 PROT_READ | PROT_WRITE | PROT_EXEC); in Create()
|