/bionic/libc/arch-arm/syscalls/ |
mprotect.S | 5 ENTRY(mprotect) function 14 END(mprotect)
|
/bionic/libc/arch-sh/syscalls/ |
mprotect.S | 5 .type mprotect, @function 6 .globl mprotect 9 mprotect: label
|
/bionic/libc/arch-x86/syscalls/ |
mprotect.S | 5 .type mprotect, @function 6 .globl mprotect 9 mprotect: label
|
/external/valgrind/main/memcheck/tests/ |
addressable.c | 64 /* Case 4 - mprotect doesn't affect addressability */ 69 mprotect(m, pgsz, PROT_WRITE); 73 mprotect(m, pgsz*5, PROT_NONE); 77 /* Case 5 - mprotect doesn't affect definedness */ 87 mprotect(m, pgsz*5, PROT_NONE); 88 mprotect(m, pgsz*5, PROT_READ);
|
/external/kernel-headers/original/asm-generic/ |
mman.h | 14 #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ 15 #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/asm-generic/ |
mman.h | 14 #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ 15 #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */
|
/bionic/libc/stdlib/ |
atexit.c | 49 * Outside the following functions, all pages are mprotect()'ed 75 else if (mprotect(p, pgsize, PROT_READ | PROT_WRITE)) 99 if (mprotect(p, pgsize, PROT_READ)) 148 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE) == 0) { 150 mprotect(p, pgsize, PROT_READ); 211 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE)) 217 mprotect(p, pgsize, PROT_READ);
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
memchr.m4 | 12 AC_CHECK_FUNCS_ONCE([mprotect]) 29 # Assume that memchr works on platforms that lack mprotect. 59 && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
|
/frameworks/compile/linkloader/lib/ |
MemChunk.cpp | 80 int ret = mprotect((void *)buf, buf_size, prot); 82 llvm::errs() << "Error: Can't mprotect.\n";
|
/system/core/libcutils/ |
mspace.c | 118 if (mprotect(cs, newbrk - (char *)cs, PROT_READ | PROT_WRITE) < 0) 121 if (mprotect(newbrk, cs->top - newbrk, PROT_NONE) < 0) 152 if (mprotect(base, starting_capacity, PROT_READ | PROT_WRITE) < 0) { 181 /* mprotect() requires page-aligned arguments, but it's possible 185 if ((mprotect(base, prot_brk - (char *)base, PROT_READ | PROT_WRITE) < 0) || 186 (mprotect(prot_brk, cs->top - prot_brk, PROT_NONE) < 0)) {
|
/dalvik/vm/ |
LinearAlloc.cpp | 64 Because the memory is not expected to be updated, we can use mprotect to 189 if (mprotect(pHdr->mapAddr, pHdr->mapLength, PROT_NONE) != 0) { 190 LOGW("LinearAlloc init mprotect failed: %s", strerror(errno)); 194 if (mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE, SYSTEM_PAGE_SIZE, 197 LOGW("LinearAlloc init mprotect #2 failed: %s", strerror(errno)); 280 * first time we reach a new page, we need to call mprotect() to 281 * make the page available, and we don't want to call mprotect() on 284 * before mprotect() completes 285 * - thread B allocs within the new page, and doesn't call mprotect() 331 * call mprotect on the page(s) we're about to write to. We have t [all...] |
/external/chromium/sdch/open-vcdiff/testdata/ |
configure.ac.v0.1 | 39 AC_CHECK_FUNCS([mprotect])
|
configure.ac.v0.2 | 41 AC_CHECK_FUNCS([mprotect])
|
/external/valgrind/main/none/tests/linux/ |
mremap2.c | 79 r = mprotect( workingarea + i * PAGE, PAGE, PROT_NONE ); 80 // We used to print 'X' or '.' according to the mprotect result, but the
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
mman.h | 38 growsdown vma (mprotect only). */ 40 growsup vma (mprotect only). */
|
/external/chromium/sdch/open-vcdiff/ |
configure.ac | 51 AC_CHECK_FUNCS([mprotect])
|
/frameworks/compile/libbcc/runtime/lib/ |
enable_execute_stack.c | 50 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
|
/frameworks/compile/libbcc/runtime/test/Unit/ |
clear_cache_test.c | 41 if ( mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0 )
|
/dalvik/libdex/ |
SysUtil.cpp | 244 if (mprotect(memPtr, length, PROT_READ) < 0) { 247 LOGV("mprotect(%p, %d, PROT_READ) failed: %s", 249 LOGD("mprotect(RO) failed (%d), file will remain read-write", err); 339 if (mprotect(alignAddr, alignLength, prot) != 0) { 341 LOGV("mprotect (%p,%zd,%d) failed: %s",
|
/bionic/libc/include/sys/ |
mman.h | 50 extern int mprotect(const void *, size_t, int);
|
/development/ndk/platforms/android-3/include/sys/ |
mman.h | 50 extern int mprotect(const void *, size_t, int);
|
/external/valgrind/main/docs/internals/ |
segments-seginfos.txt | 16 * mprotect 31 Similarly, if a Segment gets split (by mprotect, for example), the two 64 > Can a Segment get split (eg. by mprotect)? 103 this maps beyond EOF of the file], then munmap()s [or mprotect(,,PROT_NONE)]
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/sys/ |
mman.h | 50 extern int mprotect(const void *, size_t, int);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/sys/ |
mman.h | 50 extern int mprotect(const void *, size_t, int);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/sys/ |
mman.h | 50 extern int mprotect(const void *, size_t, int);
|