Home
last modified time | relevance | path

Searched refs:PROT_READ (Results 1 – 22 of 22) sorted by relevance

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_proc_maps_unittest.cpp76 {0x4000b000, true, PROT_READ}, in TEST()
77 {0x4000bfff, true, PROT_READ}, in TEST()
80 {0x4005c000, true, PROT_READ | PROT_EXEC}, in TEST()
81 {0x40067832, true, PROT_READ | PROT_EXEC}, in TEST()
82 {0x40082000, true, PROT_READ}, in TEST()
83 {0x40083000, true, PROT_READ | PROT_WRITE}, in TEST()
84 {0x40084000, true, PROT_READ | PROT_WRITE}, }; in TEST()
157 {0x4000b000, 0x4000c000, PROT_READ, 0, NULL}, in TEST()
158 {0x4005c000, 0x40081000, PROT_READ | PROT_EXEC, 0, "/system/bin/mksh"}, in TEST()
159 {0x40082000, 0x40083000, PROT_READ, in TEST()
[all …]
Dcrazy_linker_memory_mapping.h20 CAN_READ = PROT_READ,
22 CAN_READ_WRITE = PROT_READ | PROT_WRITE
Dcrazy_linker_ashmem_unittest.cpp24 PROT_READ | PROT_WRITE, in TEST()
Dcrazy_linker_elf_relro.cpp45 PROT_READ, in SwapPagesFromFd()
144 if (!ashmem_.SetProtectionFlags(PROT_READ)) { in ForceReadOnly()
Dcrazy_linker_rdebug.cpp173 (page_prot_ & (PROT_READ | PROT_WRITE)) == (PROT_READ | PROT_WRITE)) { in MapReadWrite()
179 int new_page_prot = page_prot_ | PROT_READ | PROT_WRITE; in MapReadWrite()
Dlinker_phdr.cpp128 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \
322 return mprotect((void*)relro_start, relro_size, PROT_READ); in phdr_table_protect_gnu_relro()
Dcrazy_linker_elf_loader.cpp21 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \
168 NULL, phdr_size_, PROT_READ, MAP_PRIVATE, page_min + file_offset_); in ReadProgramHeader()
Dcrazy_linker_proc_maps.cpp96 flags |= PROT_READ; in ParseProcMapsLine()
Dcrazy_linker_api.cpp249 !region.SetProtectionFlags(PROT_READ) || in crazy_system_can_share_relro()
/ndk/tests/abcc/jni/mman-win32/
Dtest.c16 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, in test_anon_map_readwrite()
36 void* map = mmap(NULL, 1024, PROT_READ, in test_anon_map_readonly()
76 void* map = mmap(NULL, 1024, PROT_READ, in test_anon_map_readonly_nowrite()
101 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_readwrite()
136 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_mlock_munlock()
186 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_msync()
Dmman.h25 #define PROT_READ 1 macro
Dmman.c49 if ((prot & PROT_READ) != 0) in __map_mmap_prot_file()
/ndk/sources/host-tools/ndk-stack/elff/
Delf_mapped_section.cc38 mapped_at_ = mapfile_map(handle, offset, size, PROT_READ, in map()
Dmapfile.h29 #define PROT_READ 0x1 macro
Dmapfile.c226 mmap(0, map_size, PROT_READ, MAP_SHARED, (int)(ptrdiff_t)handle, map_offset); in mapfile_map()
/ndk/sources/host-tools/sed-4.2.1/m4/
Dmemchr.m456 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_unistd.cpp320 base = MMAP(0, len, PROT_READ, MAP_PRIVATE, _M_file_id, offset); in _M_mmap()
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi.cc155 void* new_slab = mmap(NULL, kSlabSize, PROT_READ|PROT_WRITE, in AllocateSlab()
/ndk/tests/abcc/jni/
DAbcc.cpp79 buf = (unsigned char *) mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in readWrapper()
/ndk/sources/android/crazy_linker/tests/
Dtest_util.h352 (void*)vma_start, vma_end - vma_start, PROT_READ | PROT_WRITE); in CheckRelroMaps()
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc1057 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
/ndk/sources/host-tools/sed-4.2.1/
Dconfigure10619 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,