Searched refs:PROT_WRITE (Results 1 - 25 of 147) sorted by last modified time

123456

/freebsd-11-stable/contrib/sqlite3/
H A Dsqlite3.c[all...]
/freebsd-11-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c1613 prot & PROT_WRITE ? 'W' : '-',
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_misc.c568 if (uap->prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC))
596 if (uap->prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC))
839 *retval = PROT_READ|PROT_WRITE|PROT_EXEC;
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld.c246 static int stack_prot = PROT_READ | PROT_WRITE | RTLD_DEFAULT_STACK_EXEC;
2931 prot = convert_prot(ph->p_flags) | (before ? PROT_WRITE : 0);
5428 return (obj_remap_relro(obj, PROT_READ | PROT_WRITE));
H A Dmap_object.c246 if ((data_prot & PROT_WRITE) == 0 && -1 ==
247 mprotect(clear_page, PAGE_SIZE, data_prot|PROT_WRITE)) {
256 if ((data_prot & PROT_WRITE) == 0)
478 prot |= PROT_WRITE;
/freebsd-11-stable/lib/libc/gen/
H A Ddlfcn.c258 return (PROT_EXEC | PROT_READ | PROT_WRITE);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DGCDAProfiling.c291 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE,
/freebsd-11-stable/contrib/file/
H A Dconfigure14352 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14368 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_sysv.c876 ATF_REQUIRE_MSG((shm_buf = mmap(NULL, pgsize, PROT_READ | PROT_WRITE,
/freebsd-11-stable/contrib/apr/shmem/unix/
H A Dshm.c189 new_m->base = mmap(NULL, new_m->realsize, PROT_READ|PROT_WRITE,
211 new_m->base = mmap(NULL, new_m->realsize, PROT_READ|PROT_WRITE,
312 new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
340 new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
602 new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
/freebsd-11-stable/contrib/apr/memory/unix/
H A Dapr_pools.c408 if ((node = mmap(NULL, size, PROT_READ|PROT_WRITE,
417 if (mprotect(node, size, PROT_READ|PROT_WRITE) != 0) {
/freebsd-11-stable/contrib/apr/locks/unix/
H A Dproc_mutex.c596 PROT_READ | PROT_WRITE, MAP_SHARED,
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_solaris.c345 PROT_READ|PROT_WRITE,
/freebsd-11-stable/sys/dev/sound/pcm/
H A Ddsp.c2243 * PROT_WRITE (alone) selects the output buffer.
2244 * PROT_WRITE|PROT_READ together select the output buffer.
2246 if ((nprot & (PROT_READ | PROT_WRITE)) == 0)
2257 c = ((nprot & PROT_WRITE) != 0) ? wrch : rdch;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc780 int prot = (Mode == readonly) ? PROT_READ : (PROT_READ | PROT_WRITE);
H A DMemory.inc50 return PROT_WRITE;
52 return PROT_READ | PROT_WRITE;
57 return PROT_READ | PROT_WRITE | PROT_EXEC;
110 Protect |= PROT_MPROTECT(PROT_READ | PROT_WRITE | PROT_EXEC);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DInferiorCallPOSIX.cpp29 #define PROT_WRITE 2 macro
76 prot_arg |= PROT_WRITE;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_interface.cpp124 PROT_READ | PROT_WRITE | PROT_EXEC);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp53 val = (void *)internal_mmap(nullptr, size, PROT_READ | PROT_WRITE,
H A Dtsan_platform_linux.cpp189 uptr page = internal_mmap(0, GetPageSizeCached(), PROT_READ | PROT_WRITE,
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp52 MmapProt = PROT_READ | PROT_WRITE;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_report.cpp92 if ((prot & (PROT_WRITE | PROT_EXEC)) != (PROT_WRITE | PROT_EXEC))
H A Dsanitizer_posix_libcdep.cpp312 MmapNamed((void *)fixed_addr, size, PROT_READ | PROT_WRITE,
H A Dsanitizer_posix.cpp46 uptr res = MmapNamed(nullptr, size, PROT_READ | PROT_WRITE,
68 uptr res = MmapNamed(nullptr, size, PROT_READ | PROT_WRITE,
105 uptr p = MmapNamed(nullptr, size, PROT_READ | PROT_WRITE,
118 uptr p = MmapNamed((void *)fixed_addr, size, PROT_READ | PROT_WRITE,
206 uptr p = internal_mmap(addr, size, PROT_READ | PROT_WRITE, flags, fd, offset);
H A Dsanitizer_malloc_mac.inc66 // Library functions that need to modify the zone will set PROT_WRITE on it.
81 mprotect(zone, allocated_size, PROT_READ | PROT_WRITE);

Completed in 573 milliseconds

123456