/external/ltp/testcases/kernel/syscalls/pkeys/ |
D | pkey01.c | 101 {PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 102 {PROT_EXEC, MAP_ANONYMOUS | MAP_SHARED, -1}, 103 {PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 104 {PROT_EXEC, MAP_ANONYMOUS | MAP_SHARED | MAP_HUGETLB, -1}, 105 {PROT_EXEC, MAP_PRIVATE, 0}, 106 {PROT_EXEC, MAP_SHARED, 0}, 115 {PROT_READ | PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 116 {PROT_READ | PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS | MAP_SHARED, -1}, 117 {PROT_READ | PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 118 {PROT_READ | PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS | MAP_SHARED | MAP_HUGETLB, -1}, [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 44 {.flags = MAP_SHARED,.prot = PROT_EXEC}, 46 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC}, 47 {.flags = MAP_SHARED,.prot = PROT_EXEC | PROT_WRITE}, 48 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 53 {.flags = MAP_PRIVATE,.prot = PROT_EXEC}, 55 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_EXEC}, 56 {.flags = MAP_PRIVATE,.prot = PROT_EXEC | PROT_WRITE}, 57 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 73 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/strace/tests-m32/ |
D | old_mmap.c | 65 PROT_READ|PROT_EXEC, /* prot */ in main() 84 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main() 90 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main()
|
/external/strace/tests/ |
D | old_mmap.c | 65 PROT_READ|PROT_EXEC, /* prot */ in main() 84 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main() 90 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main()
|
/external/strace/tests-mx32/ |
D | old_mmap.c | 65 PROT_READ|PROT_EXEC, /* prot */ in main() 84 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main() 90 args1_c[0], args1_c[1], PROT_READ|PROT_EXEC, MAP_FILE, MAP_FIXED, in main()
|
/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 | 26 #if defined(PROT_EXEC) || (defined(HAVE_DECL_PROT_EXEC) && HAVE_DECL_PROT_EXEC) 27 XLAT(PROT_EXEC),
|
D | mmap_prot.in | 4 PROT_EXEC
|
/external/crosvm/seccomp/x86_64/ |
D | common_device.policy | 21 mmap: arg2 in ~PROT_EXEC 22 mprotect: arg2 in ~PROT_EXEC
|
D | tpm_device.policy | 22 mmap: arg2 in ~PROT_EXEC 23 mprotect: arg2 in ~PROT_EXEC
|
/external/crosvm/seccomp/arm/ |
D | common_device.policy | 21 mmap2: arg2 in ~PROT_EXEC 22 mprotect: arg2 in ~PROT_EXEC
|
D | tpm_device.policy | 22 mmap2: arg2 in ~PROT_EXEC 23 mprotect: arg2 in ~PROT_EXEC
|
/external/python/cffi/c/ |
D | malloc_closure.h | 129 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in more_core() 131 prot &= ~PROT_EXEC; in more_core()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Memory.inc | 57 return PROT_READ | PROT_EXEC; 60 return PROT_READ | PROT_WRITE | PROT_EXEC; 70 return PROT_READ | PROT_EXEC; 72 return PROT_EXEC; 111 Protect |= PROT_MPROTECT(PROT_READ | PROT_WRITE | PROT_EXEC);
|
/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/pdfium/third_party/base/allocator/partition_allocator/ |
D | page_allocator_internals_posix.h | 71 return PROT_READ | PROT_EXEC; in GetAccessFlags() 73 return PROT_READ | PROT_WRITE | PROT_EXEC; in GetAccessFlags()
|
/external/libunwind/src/ |
D | os-linux.c | 82 && (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ) in map_create_list()
|
/external/boringssl/src/crypto/fipsmodule/ |
D | bcm.c | 211 BORINGSSL_maybe_set_module_text_permissions(PROT_READ | PROT_EXEC); in BORINGSSL_bcm_power_on_self_test() 223 BORINGSSL_maybe_set_module_text_permissions(PROT_EXEC); in BORINGSSL_bcm_power_on_self_test()
|
/external/mesa3d/include/android_stub/backtrace/ |
D | BacktraceMap.h | 27 #define PROT_EXEC 0x4 macro 137 bool IsExecutable(uint64_t pc) { return GetFlags(pc) & PROT_EXEC; } in IsExecutable()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect04.c | 208 TEST(mprotect(page_to_copy, page_sz, PROT_READ | PROT_EXEC)); in get_func() 256 TEST(mprotect(p, page_sz, PROT_EXEC)); in testfunc_protexec()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile04.c | 90 PROT_EXEC, PASS_MAPPED_BUFFER}, { 91 PROT_EXEC | PROT_READ, PASS_MAPPED_BUFFER}, {
|
/external/u-boot/tools/ |
D | mingw_support.h | 17 #define PROT_EXEC 0x4 /* Page can be executed */ macro
|