Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 25 of 52) sorted by relevance

123

/external/compiler-rt/test/asan/TestCases/Linux/
Dleak_check_segv.cc14 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/valgrind/none/tests/linux/
Dmremap2.c23 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()
/external/strace/xlat/
Dmmap_prot.h11 #if defined(PROT_NONE) || (defined(HAVE_DECL_PROT_NONE) && HAVE_DECL_PROT_NONE)
12 XLAT(PROT_NONE),
Dmmap_prot.in1 PROT_NONE
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cc38 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/strace/tests/
Dxet_robust_list.c49 mprotect(p + page_len, page_len, PROT_NONE) || in main()
50 mprotect(p + page_len * 3, page_len, PROT_NONE)) in main()
Dumovestr.c43 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
Dtime.c48 if (p == MAP_FAILED || mprotect(p + page_len, page_len, PROT_NONE)) in main()
Dumovestr2.c42 if (p == MAP_FAILED || mprotect(p + work_len, page_len, PROT_NONE)) in main()
/external/valgrind/memcheck/tests/
Dpointer-trace.c54 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()
Dleak-segv-jmp.c260 mprotect_result = do_syscall_WRK((UWord) addr, len, PROT_NONE, in non_simd_mprotect()
267 (UWord) addr, len, PROT_NONE, in non_simd_mprotect()
282 PROT_NONE); in my_mprotect_none()
Daddressable.c73 mprotect(m, pgsz*5, PROT_NONE); in test4()
87 mprotect(m, pgsz*5, PROT_NONE); in test5()
/external/curl/lib/
Dsecurity.c86 return PROT_NONE; in name_to_level()
282 DEBUGASSERT(prot_level > PROT_NONE && prot_level < PROT_LAST); in do_sec_send()
366 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in Curl_sec_read_msg()
415 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in sec_set_protection_level()
469 if(l == PROT_NONE) in Curl_sec_request_prot()
471 DEBUGASSERT(l > PROT_NONE && l < PROT_LAST); in Curl_sec_request_prot()
/external/v8/src/base/platform/
Dplatform-solaris.cc94 PROT_NONE, in VirtualMemory()
166 PROT_NONE, in ReserveRegion()
194 PROT_NONE, in UncommitRegion()
Dplatform-macos.cc134 PROT_NONE, in VirtualMemory()
206 PROT_NONE, in ReserveRegion()
236 PROT_NONE, in UncommitRegion()
Dplatform-freebsd.cc141 PROT_NONE, in VirtualMemory()
213 PROT_NONE, in ReserveRegion()
241 PROT_NONE, in UncommitRegion()
Dplatform-aix.cc142 mmapHelper(request_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, kMmapFd, in VirtualMemory()
208 void* result = mmapHelper(size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in ReserveRegion()
232 return mprotect(base, size, PROT_NONE) != -1; in UncommitRegion()
Dplatform-qnx.cc198 PROT_NONE, in VirtualMemory()
270 PROT_NONE, in ReserveRegion()
299 PROT_NONE, in UncommitRegion()
Dplatform-openbsd.cc172 PROT_NONE, in VirtualMemory()
244 PROT_NONE, in ReserveRegion()
272 PROT_NONE, in UncommitRegion()
Dplatform-linux.cc256 PROT_NONE, in VirtualMemory()
334 PROT_NONE, in ReserveRegion()
372 PROT_NONE, in UncommitRegion()
/external/compiler-rt/test/tsan/
Dlarge_malloc_meta.cc21 mmap(0, kSize * sizeof(*p) + kPageSize, PROT_NONE, MAP_PRIVATE | MAP_ANON, in main()
/external/compiler-rt/test/lsan/TestCases/
Dregister_root_region.cc22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE)); in main()
/external/kernel-headers/original/uapi/asm-generic/
Dmman-common.h13 #define PROT_NONE 0x0 /* page can not be accessed */ macro
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h17 #define PROT_NONE 0x00 /* page can not be accessed */ macro
/external/fio/os/windows/posix/include/sys/
Dmman.h6 #define PROT_NONE 0x1 macro

123