Home
last modified time | relevance | path

Searched refs:PROT_WRITE (Results 1 – 17 of 17) sorted by relevance

/PHP-7.0/ext/opcache/
H A Dshared_alloc_mmap.c56 …shared_segment->p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|MAP_H… in create_segments()
65 …shared_segment->p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, … in create_segments()
H A Dshared_alloc_posix.c66 …shared_segment->common.p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_segm… in create_segments()
H A Dconfig.m4123 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
178 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
245 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
314 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
H A Dzend_shared_alloc.c509 mode = PROT_READ|PROT_WRITE; in zend_accel_shared_protect()
H A DZendAccelerator.c2627 PROT_READ | PROT_WRITE, in accel_remap_huge_pages()
2640 PROT_READ | PROT_WRITE | PROT_EXEC, in accel_remap_huge_pages()
2646 PROT_READ | PROT_WRITE | PROT_EXEC, in accel_remap_huge_pages()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_win.h29 #define PROT_WRITE 2 macro
H A Dphpdbg_win.c26 …return (int)VirtualProtect(addr, size, protection == (PROT_READ | PROT_WRITE) ? PAGE_READWRITE : P… in mprotect()
H A Dphpdbg_watch.c139 phpdbg_change_watchpoint_access(watch, PROT_READ | PROT_WRITE); in phpdbg_deactivate_watchpoint()
830 mprotect(page, size, PROT_READ | PROT_WRITE);
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_shm.c24 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); in fpm_shm_alloc()
/PHP-7.0/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c255 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_allocate_stack()
263 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack()
H A DsljitExecAllocator.c102 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); in alloc_chunk()
108 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0); in alloc_chunk()
/PHP-7.0/Zend/
H A DZend.m4295 void *seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
347 seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
H A Dzend_alloc.c436 …void *ptr = mmap(addr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON /*| MAP_POPULATE | MAP… in zend_mm_mmap_fixed()
472 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_HUGETLB, -1, 0); in zend_mm_mmap()
479 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in zend_mm_mmap()
/PHP-7.0/main/streams/
H A Dplain_wrapper.c712 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
720 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
/PHP-7.0/sapi/litespeed/
H A Dlsapilib.c2635 pBuf =( char*) mmap( NULL, size, PROT_READ | PROT_WRITE, in lsapi_init_children_status()
/PHP-7.0/ext/fileinfo/
H A Dlibmagic.patch712 - if ((map->p = mmap(0, (size_t)st.st_size, PROT_READ|PROT_WRITE,
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c33803 pShmNode->isReadonly ? PROT_READ : PROT_READ|PROT_WRITE,
34073 if( (pFd->ctrlFlags & UNIXFILE_RDONLY)==0 ) flags |= PROT_WRITE;

Completed in 505 milliseconds