Home
last modified time | relevance | path

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

/PHP-7.3/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.m4121 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
176 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
243 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
312 shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
H A Dzend_shared_alloc.c519 mode = PROT_READ; in zend_accel_shared_protect()
521 mode = PROT_READ|PROT_WRITE; in zend_accel_shared_protect()
H A DZendAccelerator.c2756 PROT_READ | PROT_WRITE, in accel_remap_huge_pages()
2769 PROT_READ | PROT_WRITE | PROT_EXEC, in accel_remap_huge_pages()
2775 PROT_READ | PROT_WRITE | PROT_EXEC, in accel_remap_huge_pages()
2783 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
2792 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
2803 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
/PHP-7.3/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.c247 phpdbg_change_watchpoint_access(watch, PROT_READ); in phpdbg_activate_watchpoint()
251 phpdbg_change_watchpoint_access(watch, PROT_READ | PROT_WRITE); in phpdbg_deactivate_watchpoint()
275 mprotect(page, phpdbg_pagesize, PROT_READ | PROT_WRITE);
1080 mprotect((void *) page, phpdbg_pagesize, PROT_READ);
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_shm.c22 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); in fpm_shm_alloc()
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c257 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_allocate_stack()
265 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack()
H A DsljitExecAllocator.c162 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, flags, -1, 0); in alloc_chunk()
168 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0); in alloc_chunk()
H A DsljitProtExecAllocator.c182 retval = (struct chunk_header *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in alloc_chunk()
189 retval->executable = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_SHARED, fd, 0); in alloc_chunk()
/PHP-7.3/main/streams/
H A Dplain_wrapper.c709 prot = PROT_READ; in php_stdiop_set_option()
713 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
717 prot = PROT_READ; in php_stdiop_set_option()
721 prot = PROT_READ | PROT_WRITE; in php_stdiop_set_option()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dder.c400 if ((p = mmap(NULL, l, PROT_READ, MAP_FILE, fd, 0)) == MAP_FAILED) in main()
/PHP-7.3/Zend/
H A Dzend_stream.c225 … *buf = mmap(0, size + ZEND_MMAP_AHEAD, PROT_READ, MAP_PRIVATE, fileno(file_handle->handle.fp), 0); in zend_stream_fixup()
H A DZend.m4292 void *seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
345 seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
H A Dzend_alloc.c429 …void *ptr = mmap(addr, size, PROT_READ | PROT_WRITE, flags /*| MAP_POPULATE | MAP_HUGETLB*/, -1, 0… in zend_mm_mmap_fixed()
465 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_HUGETLB, -1, 0); in zend_mm_mmap()
472 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in zend_mm_mmap()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch983 - if ((map->p = mmap(0, (size_t)st.st_size, PROT_READ|PROT_WRITE,
1033 - if (mprotect(map->p, (size_t)st.st_size, PROT_READ) == -1) {
/PHP-7.3/sapi/litespeed/
H A Dlsapilib.c2949 pBuf =( char*) mmap( NULL, size, PROT_READ | PROT_WRITE, in lsapi_init_children_status()
/PHP-7.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c37244 pShmNode->isReadonly ? PROT_READ : PROT_READ|PROT_WRITE,
37508 int flags = PROT_READ; /* Flags to pass to mmap() */

Completed in 490 milliseconds