HomeSort by relevance Sort by last modified time
    Searched refs:mprotect (Results 1 - 25 of 183) sorted by null

1 2 3 4 5 6 7 8

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/
14-1-buildonly.c 11 * int mprotect(void *, size_t, int)
24 dummyvar = mprotect;
  /bionic/libc/arch-arm/syscalls/
mprotect.S 5 ENTRY(mprotect) function
16 END(mprotect)
  /bionic/libc/arch-arm64/syscalls/
mprotect.S 5 ENTRY(mprotect) function
14 END(mprotect)
  /bionic/libc/arch-mips/syscalls/
mprotect.S 5 ENTRY(mprotect) function
19 END(mprotect)
  /bionic/libc/arch-x86_64/syscalls/
mprotect.S 5 ENTRY(mprotect) function
15 END(mprotect)
  /external/compiler-rt/test/asan/TestCases/Linux/
leak_check_segv.cc 14 mprotect((void*)(((unsigned long)p + 4095) & ~4095), 16 * 1024, PROT_NONE);
15 mprotect((void*)(((unsigned long)data + 4095) & ~4095), 16 * 1024, PROT_NONE);
  /bionic/libc/arch-mips64/syscalls/
mprotect.S 5 ENTRY(mprotect) function
25 END(mprotect)
  /bionic/libc/arch-x86/syscalls/
mprotect.S 5 ENTRY(mprotect) function
39 END(mprotect)
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
signal_segv_handler.cc 27 mprotect(guard, page_size, PROT_READ | PROT_WRITE);
41 mprotect(guard, page_size, PROT_NONE);
  /bionic/libc/private/
WriteProtected.h 60 if (mprotect(&contents, PAGE_SIZE, PROT_READ)) {
75 if (mprotect(&contents, PAGE_SIZE, PROT_READ | PROT_WRITE) != 0) {
80 if (mprotect(&contents, PAGE_SIZE, PROT_READ) != 0) {
  /bionic/libc/stdlib/
atexit.c 68 * Outside the following functions, all pages are mprotect()'ed
94 else if (mprotect(p, pgsize, PROT_READ | PROT_WRITE))
120 if (mprotect(p, pgsize, PROT_READ))
159 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE) == 0) {
161 mprotect(p, pgsize, PROT_READ);
  /external/compiler-rt/test/lsan/TestCases/
register_root_region.cc 22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE));
  /external/ltp/testcases/kernel/syscalls/madvise/
madvise05.c 40 TEST(mprotect(p, ALLOC_SIZE, PROT_NONE));
42 tst_brk(TBROK | TTERRNO, "mprotect failed");
  /external/valgrind/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/perfetto/src/base/
page_allocator.cc 41 int res = mprotect(ptr, kGuardSize, PROT_NONE);
42 res |= mprotect(usable_region + size, kGuardSize, PROT_NONE);
  /external/valgrind/none/tests/linux/
clonev.c 36 if (-1 == mprotect((char *)child_stack, page_size, PROT_NONE)) {
37 perror("mprotect");
41 if (-1 == mprotect((char *)child_stack + page_size + stack_size,
43 perror("mprotect");
  /system/tpm/attestation/server/
attestationd-seccomp-amd64.policy 74 mprotect: 1
  /system/tpm/tpm_manager/server/
tpm_managerd-seccomp-amd64.policy 76 mprotect: 1
  /system/tpm/trunks/
trunksd-seccomp-amd64.policy 68 mprotect: 1
trunksd-seccomp-arm.policy 63 mprotect: 1
trunksd-seccomp-arm64.policy 63 mprotect: 1
trunksd-seccomp-mips.policy 63 mprotect: 1
trunksd-seccomp-x86.policy 69 mprotect: 1
trunksd-seccomp-x86_64.policy 68 mprotect: 1
  /cts/tests/tests/jni/libjnitest/
android_jni_cts_BasicLoaderTest.cpp 54 if (mprotect(reinterpret_cast<void*>(page_start), PAGE_SIZE, PROT_NONE) == 0) {
62 *error_msg = std::string("Unexpected error on mprotect: ") + strerror(errno);

Completed in 1804 milliseconds

1 2 3 4 5 6 7 8