Home
last modified time | relevance | path

Searched refs:PROT_EXEC (Results 1 – 25 of 96) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/pkeys/
Dpkey01.c101 {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/
D5-1.c44 {.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/
DWindowsMMap.c34 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()
DWindowsMMap.h24 #define PROT_EXEC 0x0 macro
/external/strace/tests-m32/
Dold_mmap.c65 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/
Dold_mmap.c65 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/
Dold_mmap.c65 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/
D2-3-buildonly.c19 #ifndef PROT_EXEC
20 #error PROT_EXEC not defined
/external/strace/xlat/
Dmmap_prot.h26 #if defined(PROT_EXEC) || (defined(HAVE_DECL_PROT_EXEC) && HAVE_DECL_PROT_EXEC)
27 XLAT(PROT_EXEC),
Dmmap_prot.in4 PROT_EXEC
/external/crosvm/seccomp/x86_64/
Dcommon_device.policy21 mmap: arg2 in ~PROT_EXEC
22 mprotect: arg2 in ~PROT_EXEC
Dtpm_device.policy22 mmap: arg2 in ~PROT_EXEC
23 mprotect: arg2 in ~PROT_EXEC
/external/crosvm/seccomp/arm/
Dcommon_device.policy21 mmap2: arg2 in ~PROT_EXEC
22 mprotect: arg2 in ~PROT_EXEC
Dtpm_device.policy22 mmap2: arg2 in ~PROT_EXEC
23 mprotect: arg2 in ~PROT_EXEC
/external/python/cffi/c/
Dmalloc_closure.h129 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/
DMemory.inc57 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/
DMemory.inc52 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/
DMemory.inc52 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/
Dpage_allocator_internals_posix.h71 return PROT_READ | PROT_EXEC; in GetAccessFlags()
73 return PROT_READ | PROT_WRITE | PROT_EXEC; in GetAccessFlags()
/external/libunwind/src/
Dos-linux.c82 && (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ) in map_create_list()
/external/boringssl/src/crypto/fipsmodule/
Dbcm.c211 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/
DBacktraceMap.h27 #define PROT_EXEC 0x4 macro
137 bool IsExecutable(uint64_t pc) { return GetFlags(pc) & PROT_EXEC; } in IsExecutable()
/external/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect04.c208 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/
Dsendfile04.c90 PROT_EXEC, PASS_MAPPED_BUFFER}, {
91 PROT_EXEC | PROT_READ, PASS_MAPPED_BUFFER}, {
/external/u-boot/tools/
Dmingw_support.h17 #define PROT_EXEC 0x4 /* Page can be executed */ macro

1234