/PHP-8.2/ext/pcre/pcre2lib/sljit/ |
H A D | sljitWXExecAllocator.c | 99 return mprotect(ptr, size, PROT_READ | PROT_WRITE); in generic_se_protected() 124 int prot = PROT_READ | PROT_WRITE | SLJIT_PROT_WX; in sljit_malloc_exec() 131 prot |= PROT_MAX(PROT_READ | PROT_WRITE | PROT_EXEC); in sljit_malloc_exec() 169 int prot = PROT_READ | (enable_exec ? PROT_EXEC : PROT_WRITE); in sljit_update_wx_flags()
|
H A D | sljitExecAllocator.c | 128 ptr = mmap(NULL, page_size, PROT_WRITE | PROT_EXEC, in get_map_jit_flag() 174 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in alloc_chunk() 197 if (mprotect(retval, size, PROT_READ | PROT_WRITE | PROT_EXEC) < 0) { in alloc_chunk()
|
H A D | sljitUtils.c | 275 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_allocate_stack() 281 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack()
|
H A D | sljitProtExecAllocator.c | 202 retval = (struct chunk_header *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in alloc_chunk() 230 PROT_READ | PROT_WRITE | PROT_MPROTECT(PROT_EXEC), in alloc_chunk()
|
/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_win.h | 27 #define PROT_WRITE 2 macro
|
H A D | phpdbg_win.c | 24 …return (int)VirtualProtect(addr, size, protection == (PROT_READ | PROT_WRITE) ? PAGE_READWRITE : P… in mprotect()
|
H A D | phpdbg_watch.c | 277 phpdbg_change_watchpoint_access(watch, PROT_READ | PROT_WRITE); in phpdbg_deactivate_watchpoint() 301 mprotect(page, phpdbg_pagesize, PROT_READ | PROT_WRITE);
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_shm.c | 22 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); in fpm_shm_alloc()
|
/PHP-8.2/ext/opcache/ |
H A D | shared_alloc_mmap.c | 123 void *addr = mmap(NULL, s, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in find_prefered_mmap_base() 182 int flags = PROT_READ | PROT_WRITE, fd = -1; in create_segments() 192 flags |= PROT_MAX(PROT_READ | PROT_WRITE | PROT_EXEC); in create_segments()
|
H A D | shared_alloc_posix.c | 66 …shared_segment->common.p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_segm… in create_segments()
|
H A D | config.m4 | 208 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); 286 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
|
H A D | zend_shared_alloc.c | 609 mode = PROT_READ|PROT_WRITE; in zend_accel_shared_protect()
|
H A D | ZendAccelerator.c | 2980 PROT_READ | PROT_WRITE, in accel_remap_huge_pages() 2993 PROT_READ | PROT_WRITE | PROT_EXEC, in accel_remap_huge_pages() 2999 PROT_READ | PROT_WRITE | PROT_EXEC, in accel_remap_huge_pages() 3082 void *addr = mmap(NULL, s, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in accel_move_code_to_huge_pages()
|
/PHP-8.2/main/streams/ |
H A D | plain_wrapper.c | 772 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option() 780 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
|
/PHP-8.2/Zend/ |
H A D | zend_fibers.c | 217 …pointer = mmap(NULL, alloc_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, … in zend_fiber_stack_allocate()
|
H A D | zend_alloc.c | 483 …void *ptr = mmap(addr, size, PROT_READ | PROT_WRITE, flags /*| MAP_POPULATE | MAP_HUGETLB*/, ZEND_… in zend_mm_mmap_fixed() 523 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, mflags, fd, 0); in zend_mm_mmap() 531 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, ZEND_MM_FD, 0); in zend_mm_mmap()
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit.c | 4642 int opts = PROT_READ | PROT_WRITE; in zend_jit_unprotect() 4960 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_WRITE | PROT_EXEC) != 0) { in zend_jit_startup()
|
/PHP-8.2/sapi/litespeed/ |
H A D | lsapilib.c | 2981 pBuf =( char*) mmap( NULL, size, PROT_READ | PROT_WRITE, in lsapi_init_children_status()
|
/PHP-8.2/ext/fileinfo/ |
H A D | libmagic.patch | 711 - if ((map->p = mmap(0, CAST(size_t, st.st_size), PROT_READ|PROT_WRITE,
|