Home
last modified time | relevance | path

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

123

/external/qemu/android/utils/
Dmapfile.c193 if ((prot & (PROT_WRITE | PROT_EXEC)) == 0) { in mapfile_map()
196 } else if ((prot & (PROT_WRITE | PROT_EXEC)) == in mapfile_map()
197 (PROT_WRITE | PROT_EXEC)) { in mapfile_map()
203 } else if ((prot & PROT_EXEC) == PROT_EXEC) { in mapfile_map()
Dmapfile.h31 #define PROT_EXEC 0x4 macro
/external/libffi/testsuite/libffi.call/
Dffitest.h69 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
73 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
/external/libffi/testsuite/libffi.special/
Dffitestcxx.h69 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
73 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
/external/valgrind/main/memcheck/tests/
Dmempool.c37 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()
Dmempool2.c40 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()
Dsigaltstack.c21 char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE|PROT_EXEC, in main()
/external/llvm/lib/Support/Unix/
DMemory.inc52 return PROT_READ | PROT_EXEC;
56 return PROT_READ | PROT_WRITE | PROT_EXEC;
66 return PROT_READ | PROT_EXEC;
68 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/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dosmman.h12 #define PROT_EXEC 0x4 macro
/external/valgrind/main/none/tests/
Dmunmap_exe.c14 m = mmap(NULL, 100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in main()
/external/compiler-rt/SDKs/darwin/usr/include/sys/
Dmman.h25 #define PROT_EXEC 0x04 macro
/external/chromium_org/v8/src/
Dplatform-openbsd.cc84 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate()
219 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC()
331 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
Dplatform-linux.cc138 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate()
291 PROT_READ | PROT_EXEC, in SignalCodeMovingGC()
410 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
/external/kernel-headers/original/asm-generic/
Dmman-common.h11 #define PROT_EXEC 0x4 /* page can be executed */ macro
/external/compiler-rt/lib/
Denable_execute_stack.c56 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
/external/compiler-rt/SDKs/linux/usr/include/sys/
Dmman.h25 #define PROT_EXEC 0x04 macro
/external/kernel-headers/original/asm-mips/
Dmman.h20 #define PROT_EXEC 0x04 /* page can be executed */ macro
/external/chromium_org/base/memory/
Dshared_memory_android.cc35 PROT_READ | PROT_WRITE | PROT_EXEC); in Create()
/external/valgrind/main/massif/tests/
Dcustom_alloc.c16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
/external/mesa3d/src/mapi/mapi/
Du_execmem.c81 exec_mem = mmap(NULL, EXEC_MAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_map()
/external/valgrind/main/drd/tests/
Dcustom_alloc.c16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/
Du_execmem.c81 exec_mem = mmap(NULL, EXEC_MAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_map()
/external/compiler-rt/test/Unit/
Dclear_cache_test.c57 if (mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0) in main()
/external/valgrind/main/memcheck/tests/linux/
Dstack_changes.c37 stack = (void *)mmap(0, STACK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in init_context()
/external/valgrind/main/none/tests/amd64/
Dsmc1.c103 code = mmap(NULL, 20, PROT_READ|PROT_WRITE|PROT_EXEC, in main()

123