PROT_READ 176 base/file_util_posix.cc void *mapping = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd.get(), 0); PROT_READ 178 base/file_util_posix.cc if (mprotect(mapping, pagesize, PROT_READ | PROT_EXEC) == 0) PROT_READ 30 base/files/memory_mapped_file_posix.cc mmap(NULL, length_, PROT_READ, MAP_SHARED, file_.GetPlatformFile(), 0)); PROT_READ 75 base/memory/discardable_memory_allocator_android.cc const int err = ashmem_set_prot_region(fd.get(), PROT_READ | PROT_WRITE); PROT_READ 85 base/memory/discardable_memory_allocator_android.cc NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0); PROT_READ 55 base/memory/discardable_memory_mac.cc PROT_READ | PROT_WRITE)); PROT_READ 35 base/memory/shared_memory_android.cc PROT_READ | PROT_WRITE | PROT_EXEC); PROT_READ 97 base/memory/shared_memory_nacl.cc memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), PROT_READ 297 base/memory/shared_memory_posix.cc memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), PROT_READ 418 base/memory/shared_memory_unittest.cc NULL, contents.size(), PROT_READ | PROT_WRITE, MAP_SHARED, handle.fd, 0); PROT_READ 526 base/memory/shared_memory_unittest.cc PROT_READ | PROT_EXEC)); PROT_READ 390 base/process/launch_posix.cc mprotect(malloc_thunk, 4096, PROT_READ | PROT_WRITE | PROT_EXEC); PROT_READ 252 base/security_unittest.cc mmap(0, kPageSize, PROT_READ|PROT_WRITE, PROT_READ 133 base/third_party/xdg_mime/xdgmimecache.c buffer = (char *) mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); PROT_READ 107 components/nacl/loader/nonsfi/elf_loader.cc ((pflags & PF_R) ? PROT_READ : 0) | PROT_READ 23 components/nacl/loader/nonsfi/irt_memory.cc prot |= PROT_READ; PROT_READ 1444 content/common/gpu/media/exynos_video_encode_accelerator.cc PROT_READ | PROT_WRITE, MAP_SHARED, mfc_fd_, PROT_READ 1689 content/common/gpu/media/v4l2_video_decode_accelerator.cc PROT_READ | PROT_WRITE, PROT_READ 114 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc int ret = ::mprotect(region_start, region_size, PROT_READ | PROT_WRITE); PROT_READ 124 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc ::mprotect(region_start, region_size, PROT_READ); PROT_READ 565 media/video/capture/linux/video_capture_device_linux.cc buffer_pool_[i].start = mmap(NULL, buffer.length, PROT_READ | PROT_WRITE, PROT_READ 99 mojo/system/raw_shared_buffer_posix.cc void* real_base = mmap(NULL, real_length, PROT_READ | PROT_WRITE, MAP_SHARED, PROT_READ 228 native_client_sdk/src/libraries/error_handling/error_handling.c PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); PROT_READ 679 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc void* addr1 = ki_mmap(NULL, 0x800, PROT_READ, MAP_PRIVATE, fd, 0); PROT_READ 683 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc void* addr2 = ki_mmap(NULL, 0x800, PROT_READ, MAP_PRIVATE, fd, 0); PROT_READ 687 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc void* addr3 = ki_mmap(NULL, 0x800, PROT_READ, MAP_PRIVATE, fd, 0); PROT_READ 25 net/disk_cache/blockfile/mapped_file_posix.cc buffer_ = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, PROT_READ 46 ppapi/proxy/file_mapping_resource_posix.cc prot_for_mmap |= PROT_READ; PROT_READ 1144 ppapi/tests/test_file_io.cc mmap(NULL, msg.size(), PROT_READ, MAP_PRIVATE, fd, 0)); PROT_READ 1160 ppapi/tests/test_file_io.cc mmap(NULL, msg.size(), PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0)); PROT_READ 1177 ppapi/tests/test_file_io.cc mmap(NULL, msg.size(), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)); PROT_READ 1220 ppapi/tests/test_file_io.cc mmap(NULL, msg2.size(), PROT_READ, MAP_PRIVATE, fd, 0)); PROT_READ 1236 ppapi/tests/test_file_io.cc mmap(NULL, msg2.size(), PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0)); PROT_READ 1253 ppapi/tests/test_file_io.cc mmap(NULL, msg2.size(), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)); PROT_READ 127 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc uint32_t denied_mask = ~(PROT_READ | PROT_WRITE | PROT_EXEC); PROT_READ 143 sandbox/linux/seccomp-bpf/syscall_unittest.cc PROT_READ, PROT_READ 155 sandbox/linux/seccomp-bpf/syscall_unittest.cc PROT_READ | PROT_WRITE, PROT_READ 171 sandbox/linux/seccomp-bpf/syscall_unittest.cc kMMapNr, (void*)NULL, 8192L, PROT_READ, MAP_PRIVATE, fd, 0L))); PROT_READ 176 sandbox/linux/seccomp-bpf/syscall_unittest.cc PROT_READ, PROT_READ 409 third_party/harfbuzz-ng/src/hb-blob.cc if (-1 == mprotect ((void *) addr, length, PROT_READ | PROT_WRITE)) { PROT_READ 96 third_party/libxml/src/testRelax.c base = mmap(NULL, info.st_size, PROT_READ, PROT_READ 92 third_party/libxml/src/testSchemas.c base = mmap(NULL, info.st_size, PROT_READ, PROT_READ 1832 third_party/libxml/src/xmllint.c base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; PROT_READ 2219 third_party/libxml/src/xmllint.c base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; PROT_READ 2334 third_party/libxml/src/xmllint.c base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; PROT_READ 167 third_party/mach_override/mach_override.c e |= mprotect((void *)page, pageSize, PROT_EXEC | PROT_READ); PROT_READ 205 third_party/npapi/npspy/extern/nspr/md/_unixos.h (void) mprotect((void*)ts->seg->vaddr, REDZONE, PROT_READ|PROT_WRITE);\ PROT_READ 207 third_party/npapi/npspy/extern/nspr/md/_unixos.h REDZONE, PROT_READ|PROT_WRITE); \ PROT_READ 678 third_party/re2/re2/testing/re2_test.cc v = static_cast<char*>(mmap(NULL, 2*pagesize, PROT_READ|PROT_WRITE, PROT_READ 28099 third_party/sqlite/amalgamation/sqlite3.c pMem = mmap(0, szRegion, PROT_READ|PROT_WRITE, PROT_READ 3958 third_party/sqlite/src/src/os_unix.c pMem = mmap(0, szRegion, PROT_READ|PROT_WRITE, PROT_READ 38 third_party/talloc/libreplace/test/shared_mmap.c (PROT_READ | PROT_WRITE), PROT_READ 54 third_party/talloc/libreplace/test/shared_mmap.c (PROT_READ | PROT_WRITE), PROT_READ 463 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc PROT_WRITE|PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); PROT_READ 466 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc PROT_WRITE|PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); PROT_READ 501 third_party/tcmalloc/chromium/src/debugallocation.cc char* p = (char*) mmap(NULL, num_pages * pagesize, PROT_READ|PROT_WRITE, PROT_READ 189 third_party/tcmalloc/chromium/src/memfs_malloc.cc result = mmap(0, size + extra, PROT_WRITE|PROT_READ, PROT_READ 216 third_party/tcmalloc/chromium/src/system-alloc.cc void* result = mmap(address_hint, length, PROT_READ|PROT_WRITE, PROT_READ 535 third_party/tcmalloc/chromium/src/system-alloc.cc void *result = mmap(0, size + extra, PROT_WRITE|PROT_READ, PROT_READ 1255 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc void* r = mmap(NULL, 100, PROT_READ|PROT_WRITE, PROT_READ 333 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc EXPECT_EQ(kMmapMagicPointer, mmap(NULL, 1, PROT_READ, MAP_PRIVATE, PROT_READ 338 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc mmap(NULL, 1, PROT_READ | PROT_WRITE, PROT_READ 1164 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc p1 = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, PROT_READ 1177 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc p1 = mmap(NULL, 8192, PROT_READ, MAP_SHARED, fd, 0); PROT_READ 279 third_party/tcmalloc/chromium/src/windows/port.h prot == (PROT_READ|PROT_WRITE) && flags == (MAP_PRIVATE|MAP_ANONYMOUS)) { PROT_READ 463 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc PROT_WRITE|PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); PROT_READ 466 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc PROT_WRITE|PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); PROT_READ 503 third_party/tcmalloc/vendor/src/debugallocation.cc char* p = (char*) mmap(NULL, num_pages * pagesize, PROT_READ|PROT_WRITE, PROT_READ 189 third_party/tcmalloc/vendor/src/memfs_malloc.cc result = mmap(0, size + extra, PROT_WRITE|PROT_READ, PROT_READ 309 third_party/tcmalloc/vendor/src/system-alloc.cc PROT_READ|PROT_WRITE, PROT_READ 398 third_party/tcmalloc/vendor/src/system-alloc.cc void *result = mmap(0, size + extra, PROT_WRITE|PROT_READ, PROT_READ 1255 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc void* r = mmap(NULL, 100, PROT_READ|PROT_WRITE, PROT_READ 333 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc EXPECT_EQ(kMmapMagicPointer, mmap(NULL, 1, PROT_READ, MAP_PRIVATE, PROT_READ 338 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc mmap(NULL, 1, PROT_READ | PROT_WRITE, PROT_READ 1164 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc p1 = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, PROT_READ 1177 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc p1 = mmap(NULL, 8192, PROT_READ, MAP_SHARED, fd, 0); PROT_READ 276 third_party/tcmalloc/vendor/src/windows/port.h prot == (PROT_READ|PROT_WRITE) && flags == (MAP_PRIVATE|MAP_ANONYMOUS)) { PROT_READ 336 third_party/v4l2capture/v4l2capture.c PROT_READ | PROT_WRITE, MAP_SHARED, self->fd, buffer.m.offset); PROT_READ 57 ui/gfx/ozone/dri/dri_skbitmap.cc PROT_READ | PROT_WRITE,