/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/llvm-project/clang/test/Analysis/ |
D | mmap-writeexec.c | 6 #define PROT_EXEC 0x04 macro 9 #define PROT_EXEC 0x01 macro 23 void *a = mmap(NULL, 16, PROT_READ | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); // no-warning in f1() 25 …void *c = mmap(NULL, 32, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); // ex… in f1() 35 int prot = PROT_WRITE | PROT_EXEC; in f2() 42 …int m = mprotect(p, 1024, PROT_WRITE | PROT_EXEC); // expected-warning{{Both PROT_WRITE and PROT_E… in f3()
|
/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()
|
/external/llvm-project/compiler-rt/lib/profile/ |
D | WindowsMMap.c | 30 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) in mmap() 40 if (prot & PROT_EXEC) in mmap() 44 } else if (prot & PROT_EXEC) { in mmap() 47 else if (prot & PROT_EXEC) in mmap() 67 if (prot & PROT_EXEC) in mmap()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | mmap_write_exec.cpp | 14 char *p = (char *)mmap(0, 1024, PROT_READ | PROT_WRITE | PROT_EXEC, in main() 22 (void)mprotect(q, 64, PROT_WRITE | PROT_EXEC); in main() 31 (void)mprotect(q, 64, PROT_READ | PROT_EXEC); 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-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-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/llvm-project/compiler-rt/test/builtins/Unit/ |
D | clear_cache_test.c | 55 PROT_EXEC), in main() 66 if (mprotect(execution_buffer, kSize, PROT_READ | PROT_EXEC) == -1) in main() 70 PROT_READ | PROT_WRITE | PROT_EXEC, in main()
|
/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),
|
/external/crosvm/seccomp/aarch64/ |
D | common_device.policy | 23 mmap: arg2 in ~PROT_EXEC 24 mprotect: arg2 in ~PROT_EXEC
|
D | tpm_device.policy | 23 mmap: arg2 in ~PROT_EXEC 24 mprotect: arg2 in ~PROT_EXEC
|
/external/crosvm/seccomp/arm/ |
D | common_device.policy | 27 mmap2: arg2 in ~PROT_EXEC 28 mprotect: arg2 in ~PROT_EXEC
|
D | tpm_device.policy | 26 mmap2: arg2 in ~PROT_EXEC 27 mprotect: arg2 in ~PROT_EXEC
|
/external/crosvm/seccomp/x86_64/ |
D | common_device.policy | 25 mmap: arg2 in ~PROT_EXEC 26 mprotect: arg2 in ~PROT_EXEC
|
D | tpm_device.policy | 23 mmap: arg2 in ~PROT_EXEC 24 mprotect: arg2 in ~PROT_EXEC
|
/external/pcre/dist2/src/sljit/ |
D | sljitWXExecAllocator.c | 64 #define SLJIT_PROT_WX PROT_MPROTECT(PROT_EXEC) 98 if (SLJIT_LIKELY(!mprotect(ptr, size, PROT_EXEC))) in generic_se_protected() 165 int prot = PROT_READ | (enable_exec ? PROT_EXEC : PROT_WRITE); in sljit_update_wx_flags()
|
/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/adhd/sound_card_init/seccomp/ |
D | sound_card_init-seccomp-amd64.policy | 44 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 45 mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Memory.inc | 54 return PROT_READ | PROT_EXEC; 57 return PROT_READ | PROT_WRITE | PROT_EXEC; 66 return PROT_READ | PROT_EXEC; 68 return PROT_EXEC; 110 Protect |= PROT_MPROTECT(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()
|