/external/autotest/client/site_tests/security_mprotect/ |
D | control | 7 PURPOSE = "Verify mprotect+PROT_EXEC works on noexec filesystem" 8 CRITERIA = "Fails if PROT_EXEC cannot be mapped on noexec filesystem" 18 Checks that mprotect can use PROT_EXEC on noexec filesystems,
|
/external/strace/xlat/ |
D | mmap_prot.h | 20 #if defined(PROT_EXEC) || (defined(HAVE_DECL_PROT_EXEC) && HAVE_DECL_PROT_EXEC) 21 XLAT(PROT_EXEC),
|
D | mmap_prot.in | 4 PROT_EXEC
|
/external/valgrind/memcheck/tests/ |
D | mempool.c | 37 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()
|
D | mempool2.c | 40 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()
|
D | sigaltstack.c | 21 char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE|PROT_EXEC, in main()
|
/external/autotest/client/site_tests/security_mprotect/src/ |
D | prot_exec.c | 43 PROT_READ | PROT_EXEC, MAP_SHARED, in main() 51 if (mprotect(areaex, sizeof(int), PROT_READ | PROT_EXEC)) in main()
|
/external/v8/src/base/platform/ |
D | platform-openbsd.cc | 59 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 144 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC() 256 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-linux.cc | 136 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 228 PROT_READ | PROT_EXEC, in SignalCodeMovingGC() 354 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-solaris.cc | 57 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 178 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-freebsd.cc | 61 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate() 225 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-macos.cc | 58 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 220 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-aix.cc | 67 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate() 223 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
/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/libunwind/src/ |
D | os-linux.c | 81 && (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ) in map_create_list()
|
/external/valgrind/none/tests/ |
D | munmap_exe.c | 14 m = mmap(NULL, 100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | mman-common.h | 11 #define PROT_EXEC 0x4 /* page can be executed */ macro
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | mman.h | 20 #define PROT_EXEC 0x04 /* page can be executed */ macro
|
/external/compiler-rt/lib/builtins/ |
D | enable_execute_stack.c | 70 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
|
/external/valgrind/massif/tests/ |
D | custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
|
/external/valgrind/drd/tests/ |
D | custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
|
/external/mesa3d/src/mapi/mapi/ |
D | u_execmem.c | 81 exec_mem = mmap(NULL, EXEC_MAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_map()
|
/external/valgrind/memcheck/tests/linux/ |
D | stack_changes.c | 37 stack = (void *)mmap(0, STACK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in init_context()
|
/external/mesa3d/src/mesa/main/ |
D | execmem.c | 83 exec_mem = mmap(NULL, EXEC_HEAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_heap()
|
/external/valgrind/none/tests/amd64/ |
D | smc1.c | 103 code = mmap(NULL, 20, PROT_READ|PROT_WRITE|PROT_EXEC, in main()
|