Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dmmap_prot.h13 #if defined(PROT_EXEC) || (defined(HAVE_DECL_PROT_EXEC) && HAVE_DECL_PROT_EXEC)
14 XLAT(PROT_EXEC),
Dmmap_prot.in4 PROT_EXEC
/external/valgrind/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/libunwind/src/
Dos-linux.c79 && (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ) in map_create_list()
/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/v8/src/base/platform/
Dplatform-openbsd.cc60 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate()
193 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC()
305 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
Dplatform-linux.cc136 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate()
286 PROT_READ | PROT_EXEC, in SignalCodeMovingGC()
409 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
Dplatform-solaris.cc77 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate()
246 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
Dplatform-macos.cc58 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate()
278 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
Dplatform-freebsd.cc62 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate()
274 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
/external/valgrind/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/uapi/asm-generic/
Dmman-common.h11 #define PROT_EXEC 0x4 /* page can be executed */ macro
/external/compiler-rt/lib/builtins/
Denable_execute_stack.c57 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h20 #define PROT_EXEC 0x04 /* page can be executed */ macro
/external/valgrind/massif/tests/
Dcustom_alloc.c16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
/external/valgrind/drd/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/memcheck/tests/linux/
Dstack_changes.c37 stack = (void *)mmap(0, STACK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in init_context()
/external/pcre/dist/sljit/
DsljitExecAllocator.c102 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); in alloc_chunk()
108 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0); in alloc_chunk()
/external/compiler-rt/test/builtins/Unit/
Dclear_cache_test.c68 if (mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0) in main()
/external/mesa3d/src/mesa/main/
Dexecmem.c83 exec_mem = mmap(NULL, EXEC_HEAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_heap()
/external/valgrind/none/tests/amd64/
Dsmc1.c103 code = mmap(NULL, 20, PROT_READ|PROT_WRITE|PROT_EXEC, in main()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_execmem.c79 PROT_EXEC | PROT_READ | PROT_WRITE, in init_heap()

12