Home
last modified time | relevance | path

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

12

/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()
Dcustom_alloc.c16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
/external/webkit/Source/JavaScriptCore/wtf/
DPageAllocationAligned.cpp47 protection |= PROT_EXEC; in allocate()
50 …ags, MEMORY_OBJECT_NULL, 0, FALSE, protection, PROT_READ | PROT_WRITE | PROT_EXEC, VM_INHERIT_DEFA… in allocate()
DOSAllocatorPosix.cpp53 protection |= PROT_EXEC; in reserveAndCommit()
/external/llvm/lib/Support/Unix/
DMemory.inc48 return PROT_READ | PROT_EXEC;
52 return PROT_READ | PROT_WRITE | PROT_EXEC;
62 return PROT_READ | PROT_EXEC;
64 return PROT_EXEC;
205 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_EXEC,
208 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC,
/external/compiler-rt/SDKs/linux/usr/include/sys/
Dmman.h24 #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/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/kernel-headers/original/asm-mips/
Dmman.h20 #define PROT_EXEC 0x04 /* page can be executed */ macro
/external/valgrind/main/massif/tests/
Dcustom_alloc.c16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
/external/valgrind/main/drd/tests/
Dcustom_alloc.c16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
/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()
/external/valgrind/main/perf/
Dbigcode.c39 PROT_EXEC|PROT_WRITE, in main()
/external/oprofile/module/x86/
Dop_syscalls.c175 if ((prot & PROT_EXEC) && ret >= 0) in my_sys_mmap2()
199 if (a.prot&PROT_EXEC) in my_old_mmap()
/external/libffi/src/
Dclosures.c374 ptr = mmap (NULL, length, (prot & ~PROT_WRITE) | PROT_EXEC, in dlmmap_locked()
425 ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset); in dlmmap()
/external/oprofile/module/ia64/
Dop_syscalls.c215 if ((prot & PROT_EXEC) && ret >= 0) in post_sys_mmap2()
228 if ((prot & PROT_EXEC) && ret >= 0) in post_sys_mmap()

12