Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 12 of 12) sorted by relevance

/system/memory/libmemunreachable/
DPtracerThread.cpp54 mprotect(base_, page_size_, PROT_NONE); in Stack()
55 mprotect(top(), page_size_, PROT_NONE); in Stack()
/system/core/libunwindstack/tests/
DMemoryLocalTest.cpp77 mprotect(mapping + getpagesize(), getpagesize(), PROT_NONE); in TEST()
97 mprotect(static_cast<char*>(mapping) + 4096, 4096, PROT_NONE); in TEST()
DMemoryRemoteTest.cpp99 ASSERT_EQ(0, mprotect(mapping + getpagesize(), getpagesize(), PROT_NONE)); in TEST()
224 ASSERT_EQ(0, mprotect(static_cast<char*>(mapping) + page_size, page_size, PROT_NONE)); in TEST()
297 ASSERT_EQ(0, mprotect(static_cast<char*>(mapping), page_size, PROT_NONE)); in TEST()
DMapsTest.cpp187 EXPECT_EQ(PROT_NONE, info->flags); in TEST()
/system/core/libbacktrace/include/backtrace/
DBacktraceMap.h24 #define PROT_NONE 0 macro
132 return PROT_NONE; in GetFlags()
/system/core/libbacktrace/
DBacktraceMap.cpp82 map->flags = PROT_NONE; in ParseLine()
Dbacktrace_test.cpp1026 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ThreadReadTest()
1127 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ForkedReadTest()
/system/core/libutils/
DUnicode_test.cpp141 ASSERT_EQ(mprotect((char*)memptr + alignment, alignment, PROT_NONE), 0); in TEST_F()
/system/extras/pagecache/
Ddumpcache.c84 void* mapped_addr = mmap(NULL, sb->st_size, PROT_NONE, MAP_SHARED, fd, 0); in store_num_cached()
/system/memory/libion/
Dion_test.c248 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0; in main()
/system/memory/libmemunreachable/tests/
DHeapWalker_test.cpp201 void* buffer1 = mmap(NULL, page_size, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in TEST_F()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp616 void* thread_stack_allocation = mmap(nullptr, PAGE_SIZE * (thread_stack_pages + 2), PROT_NONE, in debuggerd_init()