Home
last modified time | relevance | path

Searched refs:PROT_READ (Results 1 – 19 of 19) sorted by relevance

/PHP-5.6/Zend/
H A Dzend_string.c61 …tect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); in zend_interned_strings_init()
77 …ned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_WRITE | PROT_READ); in zend_interned_strings_dtor()
120 …ned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ | PROT_WRITE); in zend_new_interned_string_int()
173 …tect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); in zend_new_interned_string_int()
198 …ned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_WRITE | PROT_READ); in zend_interned_strings_restore_int()
224 …tect(CG(interned_strings_start), CG(interned_strings_end) - CG(interned_strings_start), PROT_READ); in zend_interned_strings_restore_int()
H A DZend.m4319 void *seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
371 seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
H A Dzend_stream.c238 … *buf = mmap(0, size + ZEND_MMAP_AHEAD, PROT_READ, MAP_PRIVATE, fileno(file_handle->handle.fp), 0);
H A Dzend_alloc.c187 …zend_mm_segment *ret = (zend_mm_segment*)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MA… in zend_mm_mem_mmap_anon_alloc()
222 …zend_mm_segment *ret = (zend_mm_segment*)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, zen… in zend_mm_mem_mmap_zero_alloc()
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_win.h28 #define PROT_READ 1 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.c72 phpdbg_change_watchpoint_access(watch, PROT_READ TSRMLS_CC); in phpdbg_activate_watchpoint()
76 phpdbg_change_watchpoint_access(watch, PROT_READ | PROT_WRITE TSRMLS_CC); in phpdbg_deactivate_watchpoint()
529 mprotect(page, size, PROT_READ | PROT_WRITE);
563 mprotect(dump->page, dump->size, PROT_READ);
/PHP-5.6/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-5.6/ext/opcache/
H A Dshared_alloc_mmap.c49 …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.m4106 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
161 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
228 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
297 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
H A Dzend_shared_alloc.c485 mode = PROT_READ; in zend_accel_shared_protect()
487 mode = PROT_READ|PROT_WRITE; in zend_accel_shared_protect()
/PHP-5.6/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-5.6/main/streams/
H A Dplain_wrapper.c675 prot = PROT_READ; in php_stdiop_set_option()
679 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
683 prot = PROT_READ; in php_stdiop_set_option()
687 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
/PHP-5.6/sapi/litespeed/
H A Dlsapilib.c2635 pBuf =( char*) mmap( NULL, size, PROT_READ | PROT_WRITE, in lsapi_init_children_status()
/PHP-5.6/sapi/thttpd/
H A Dthttpd_patch1812 + PROT_READ|PROT_WRITE, MAP_PRIVATE, tmp, 0);
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch599 - if ((map->p = mmap(0, (size_t)st.st_size, PROT_READ|PROT_WRITE,
/PHP-5.6/ext/sqlite3/libsqlite/
H A Dsqlite3.c29950 pShmNode->isReadonly ? PROT_READ : PROT_READ|PROT_WRITE,
30209 int flags = PROT_READ; /* Flags to pass to mmap() */

Completed in 324 milliseconds