Searched defs:protect_all (Results 1 - 3 of 3) sorted by relevance

/bionic/linker/
H A Dlinker_allocator.h39 void protect_all(int prot);
65 void protect_all(int prot) { block_allocator_.protect_all(prot); } function in class:LinkerAllocator
H A Dlinker_allocator.cpp87 void LinkerBlockAllocator::protect_all(int prot) { function in class:LinkerBlockAllocator
/bionic/linker/tests/
H A Dlinker_allocator_test.cpp101 static void protect_all() { function
113 allocator.protect_all(PROT_READ);
114 allocator.protect_all(PROT_READ | PROT_WRITE);
119 allocator.protect_all(PROT_READ);
128 ASSERT_EXIT(protect_all(), testing::KilledBySignal(SIGSEGV), "trying to access protected page");

Completed in 257 milliseconds