Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dmmap.cpp42 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64() argument
49 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT); in mmap64()
62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap() argument
63 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset)); in mmap()
Dpthread_create.cpp106 int prot = PROT_READ | PROT_WRITE; in __create_thread_stack() local
108 void* stack = mmap(NULL, thread->attr.stack_size, prot, flags, -1, 0); in __create_thread_stack()
/bionic/linker/
Dlinker_allocator.h39 void protect_all(int prot);
65 void protect_all(int prot) { block_allocator_.protect_all(prot); } in protect_all() argument
Dlinker_allocator.cpp87 void LinkerBlockAllocator::protect_all(int prot) { in protect_all() argument
89 if (mprotect(page, PAGE_SIZE, prot) == -1) { in protect_all()
/bionic/libc/kernel/uapi/linux/
Dagpgart.h71 int prot; member