Home
last modified time | relevance | path

Searched refs:PROT_NONE (Results 1 – 13 of 13) 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/unwinding/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/unwinding/libbacktrace/include/backtrace/
DBacktraceMap.h24 #define PROT_NONE 0 macro
132 return PROT_NONE; in GetFlags()
/system/unwinding/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.cpp614 void* thread_stack_allocation = mmap(nullptr, PAGE_SIZE * (thread_stack_pages + 2), PROT_NONE, in debuggerd_init()
/system/core/debuggerd/
Ddebuggerd_test.cpp725 void* mapping = mmap(nullptr, page_size * 3, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in CreateTagMapping()