/freebsd-11-stable/contrib/gcc/config/ |
H A D | host-linux.c | 144 buffer = mmap (0, buffer_size, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0);
|
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | pages.c | 13 # define PAGES_PROT_DECOMMIT (PROT_NONE)
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mincore.c | 244 addr3 = mmap(NULL, npgs * page, PROT_NONE, MAP_ANON, -1, (off_t)0);
|
H A D | t_mlock.c | 304 * But it should be impossible to mlock(2) a PROT_NONE mapping. 306 buf = mmap(NULL, page, PROT_NONE, flags, -1, 0);
|
H A D | t_mmap.c | 339 * Make a PROT_NONE mapping and try to access it. 342 map = mmap(NULL, page, PROT_NONE, MAP_ANON|MAP_PRIVATE, -1, 0); 376 * PROT_NONE. This should succeed, but 391 map = mmap(NULL, 3, PROT_NONE, MAP_FILE | MAP_SHARED, fd, 0);
|
H A D | t_mprotect.c | 114 int prot[2] = { PROT_NONE, PROT_READ }; 124 * a PROT_NONE or PROT_READ file/section as PROT_WRITE. 262 const int prot[4] = { PROT_NONE, PROT_READ, PROT_WRITE };
|
/freebsd-11-stable/contrib/ofed/librdmacm/ |
H A D | rsocket.c | 3776 if (!rs->cm_id->pd || (prot & ~(PROT_WRITE | PROT_NONE)))
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_stack.c | 70 * typically created (actually, the red zone is mapped with PROT_NONE) above 278 mprotect(stackaddr, guardsize, PROT_NONE) == 0)) {
|
/freebsd-11-stable/sys/sys/ |
H A D | mman.h | 52 #define PROT_NONE 0x00 /* no permissions */ macro
|
/freebsd-11-stable/tests/sys/audit/ |
H A D | file-attribute-modify.c | 887 ATF_REQUIRE_EQ(0, mprotect(NULL, 0, PROT_NONE)); 908 ATF_REQUIRE_EQ(-1, mprotect((void *)SIZE_MAX, -1, PROT_NONE));
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 159 p = mmap(NULL, getpagesize(), PROT_NONE, MAP_SHARED, fd_cap, 0);
|
/freebsd-11-stable/contrib/apr/memory/unix/ |
H A D | apr_pools.c | 405 if ((node = mmap(NULL, size + 2 * GUARDPAGE_SIZE, PROT_NONE,
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | guarded_pool_allocator_posix.cpp | 23 mmap(nullptr, Size, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); 43 // mmap() a PROT_NONE page over the address to release it to the system, if 46 if (mmap(Ptr, Size, PROT_NONE, MAP_FIXED | MAP_ANONYMOUS | MAP_PRIVATE, -1,
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 96 Mprotect(addr, guard, PROT_NONE);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.cpp | 142 return 0 == internal_mprotect((void*)addr, size, PROT_NONE);
|
H A D | sanitizer_posix_libcdep.cpp | 376 return (void *)MmapNamed((void *)fixed_addr, size, PROT_NONE, 383 return (void *)internal_mmap(nullptr, size, PROT_NONE, flags, -1, 0);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | linux.cpp | 50 MmapProt = PROT_NONE;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | InferiorCallPOSIX.cpp | 27 #define PROT_NONE 0 macro 68 prot_arg = PROT_NONE;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Memory.inc | 74 return PROT_NONE;
|
/freebsd-11-stable/lib/libvmmapi/ |
H A D | vmmapi.c | 390 ptr = mmap(NULL, len, PROT_NONE, MAP_GUARD | MAP_ALIGNED_SUPER, -1, 0); 492 base = mmap(NULL, len2, PROT_NONE, MAP_GUARD | MAP_ALIGNED_SUPER, -1,
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | map_object.c | 209 mapbase = mmap(base_addr, mapsize, PROT_NONE, base_flags, -1, 0);
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_mmap.c | 254 if (prot != PROT_NONE && 257 if ((flags & MAP_GUARD) != 0 && (prot != PROT_NONE || fd != -1 ||
|