/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 2-4-buildonly.c | 19 #ifndef PROT_NONE 20 #error PROT_NONE not defined
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | leak_check_segv.cc | 14 mprotect((void*)(((unsigned long)p + 4095) & ~4095), 16 * 1024, PROT_NONE); in main() 15 mprotect((void*)(((unsigned long)data + 4095) & ~4095), 16 * 1024, PROT_NONE); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 42 {.flags = MAP_SHARED,.prot = PROT_NONE}, 51 {.flags = MAP_PRIVATE,.prot = PROT_NONE}, 65 if (t->prot == PROT_NONE) in print_error()
|
/external/valgrind/none/tests/linux/ |
D | mremap2.c | 23 void* r = mmap(start, length, PROT_NONE, in mapanon_fixed() 48 workingarea = mmap(0, 200*PAGE, PROT_NONE, in setup() 79 r = mprotect( workingarea + i * PAGE, PAGE, PROT_NONE ); in show()
|
D | clonev.c | 36 if (-1 == mprotect((char *)child_stack, page_size, PROT_NONE)) { in main() 42 page_size, PROT_NONE)) { in main()
|
/external/strace/xlat/ |
D | mmap_prot.h | 11 #if defined(PROT_NONE) || (defined(HAVE_DECL_PROT_NONE) && HAVE_DECL_PROT_NONE) 12 XLAT(PROT_NONE),
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | signal_segv_handler.cc | 38 guard = mmap(0, 3 * page_size, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); in main() 41 mprotect(guard, page_size, PROT_NONE); in main()
|
/external/curl/lib/ |
D | security.c | 84 return PROT_NONE; in name_to_level() 284 DEBUGASSERT(prot_level > PROT_NONE && prot_level < PROT_LAST); in do_sec_send() 372 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in Curl_sec_read_msg() 421 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in sec_set_protection_level() 475 if(l == PROT_NONE) in Curl_sec_request_prot() 477 DEBUGASSERT(l > PROT_NONE && l < PROT_LAST); in Curl_sec_request_prot()
|
/external/valgrind/memcheck/tests/ |
D | pointer-trace.c | 54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main() 72 map = mmap(0, 256*1024, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main()
|
D | leak-segv-jmp.c | 236 mprotect_result = do_syscall_WRK((UWord) addr, len, PROT_NONE, in non_simd_mprotect() 243 (UWord) addr, len, PROT_NONE, in non_simd_mprotect() 258 PROT_NONE); in my_mprotect_none()
|
D | addressable.c | 73 mprotect(m, pgsz*5, PROT_NONE); in test4() 87 mprotect(m, pgsz*5, PROT_NONE); in test5()
|
/external/v8/src/base/platform/ |
D | platform-solaris.cc | 95 PROT_NONE, in VirtualMemory() 167 PROT_NONE, in ReserveRegion() 195 PROT_NONE, in UncommitRegion()
|
D | platform-macos.cc | 136 PROT_NONE, in VirtualMemory() 208 PROT_NONE, in ReserveRegion() 238 PROT_NONE, in UncommitRegion()
|
D | platform-aix.cc | 144 mmapHelper(request_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, kMmapFd, in VirtualMemory() 210 void* result = mmapHelper(size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in ReserveRegion() 229 return mprotect(base, size, PROT_NONE) != -1; in UncommitRegion()
|
D | platform-freebsd.cc | 143 PROT_NONE, in VirtualMemory() 215 PROT_NONE, in ReserveRegion() 243 PROT_NONE, in UncommitRegion()
|
D | platform-qnx.cc | 200 PROT_NONE, in VirtualMemory() 272 PROT_NONE, in ReserveRegion() 301 PROT_NONE, in UncommitRegion()
|
D | platform-openbsd.cc | 174 PROT_NONE, in VirtualMemory() 246 PROT_NONE, in ReserveRegion() 274 PROT_NONE, in UncommitRegion()
|
/external/strace/tests-m32/ |
D | remap_file_pages.c | 79 prot = (kernel_ulong_t) 0xdefaced00000000ULL | PROT_NONE; in main() 88 prot == PROT_NONE ? "PROT_NONE" : in main()
|
D | mmap.c | 63 mmap(NULL, 0, PROT_NONE, MAP_FILE, 0, 0); in main() 77 if (mprotect(p, length1, PROT_NONE)) in main()
|
/external/perfetto/src/base/ |
D | page_allocator.cc | 41 int res = mprotect(ptr, kGuardSize, PROT_NONE); in AllocateInternal() 42 res |= mprotect(usable_region + size, kGuardSize, PROT_NONE); in AllocateInternal()
|
/external/strace/tests/ |
D | remap_file_pages.c | 79 prot = (kernel_ulong_t) 0xdefaced00000000ULL | PROT_NONE; in main() 88 prot == PROT_NONE ? "PROT_NONE" : in main()
|
D | mmap.c | 63 mmap(NULL, 0, PROT_NONE, MAP_FILE, 0, 0); in main() 77 if (mprotect(p, length1, PROT_NONE)) in main()
|
/external/strace/tests-mx32/ |
D | remap_file_pages.c | 79 prot = (kernel_ulong_t) 0xdefaced00000000ULL | PROT_NONE; in main() 88 prot == PROT_NONE ? "PROT_NONE" : in main()
|
D | mmap.c | 63 mmap(NULL, 0, PROT_NONE, MAP_FILE, 0, 0); in main() 77 if (mprotect(p, length1, PROT_NONE)) in main()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev06.c | 178 bad_addr[0] = mmap(NULL, page_size * 3, PROT_NONE, in setup() 188 bad_addr[1] = mmap(NULL, page_size * 3, PROT_NONE, in setup()
|