Searched refs:PROT_NONE (Results 1 – 13 of 13) sorted by relevance
/system/memory/libmemunreachable/ |
D | PtracerThread.cpp | 54 mprotect(base_, page_size_, PROT_NONE); in Stack() 55 mprotect(top(), page_size_, PROT_NONE); in Stack()
|
/system/unwinding/libunwindstack/tests/ |
D | MemoryLocalTest.cpp | 77 mprotect(mapping + getpagesize(), getpagesize(), PROT_NONE); in TEST() 97 mprotect(static_cast<char*>(mapping) + 4096, 4096, PROT_NONE); in TEST()
|
D | MemoryRemoteTest.cpp | 99 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()
|
D | MapsTest.cpp | 187 EXPECT_EQ(PROT_NONE, info->flags()); in TEST()
|
/system/unwinding/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 24 #define PROT_NONE 0 macro 132 return PROT_NONE; in GetFlags()
|
/system/unwinding/libbacktrace/ |
D | BacktraceMap.cpp | 82 map->flags = PROT_NONE; in ParseLine()
|
D | backtrace_test.cpp | 1026 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ThreadReadTest() 1127 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ForkedReadTest()
|
/system/core/libutils/ |
D | Unicode_test.cpp | 141 ASSERT_EQ(mprotect((char*)memptr + alignment, alignment, PROT_NONE), 0); in TEST_F()
|
/system/extras/pagecache/ |
D | dumpcache.c | 84 void* mapped_addr = mmap(NULL, sb->st_size, PROT_NONE, MAP_SHARED, fd, 0); in store_num_cached()
|
/system/memory/libion/ |
D | ion_test.c | 248 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0; in main()
|
/system/memory/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 201 void* buffer1 = mmap(NULL, page_size, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in TEST_F()
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 614 void* thread_stack_allocation = mmap(nullptr, PAGE_SIZE * (thread_stack_pages + 2), PROT_NONE, in debuggerd_init()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 725 void* mapping = mmap(nullptr, page_size * 3, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in CreateTagMapping()
|