Searched refs:PROT_WRITE (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/stdlib/ |
D | atexit.c | 75 else if (mprotect(p, pgsize, PROT_READ | PROT_WRITE)) in __cxa_atexit() 79 p = mmap(NULL, pgsize, PROT_READ | PROT_WRITE, in __cxa_atexit() 146 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE) == 0) { in __cxa_finalize() 197 p = mmap(NULL, pgsize, PROT_READ | PROT_WRITE, in __atexit_register_cleanup() 209 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE)) in __atexit_register_cleanup()
|
/bionic/libc/kernel/common/asm-generic/ |
D | mman.h | 16 #define PROT_WRITE 0x2 macro
|
/bionic/libc/stdio/ |
D | vfprintf.c | 1093 PROT_WRITE|PROT_READ, MAP_ANON|MAP_PRIVATE, -1, 0); in __find_arguments() 1192 sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ, in __grow_type_table() 1198 sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ, in __grow_type_table()
|
/bionic/linker/ |
D | linker.c | 755 MAYBE_MAP_FLAG((x), PF_W, PROT_WRITE)) 893 PFLAGS_TO_PROT(phdr->p_flags) | PROT_WRITE); in load_segments()
|
/bionic/libc/bionic/ |
D | pthread.c | 227 PROT_READ | PROT_WRITE, in mkstack()
|
D | dlmalloc.c | 1389 #define MMAP_PROT (PROT_READ|PROT_WRITE)
|