Home
last modified time | relevance | path

Searched refs:mprotect (Results 1 – 13 of 13) sorted by relevance

/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitWXExecAllocator.c75 if (SLJIT_LIKELY(!mprotect(ptr, size, PROT_EXEC))) in generic_se_protected()
76 return mprotect(ptr, size, PROT_READ | PROT_WRITE); in generic_se_protected()
151 mprotect((void*)start, end - start, prot); in sljit_update_wx_flags()
H A DsljitExecAllocator.c197 if (mprotect(retval, size, PROT_READ | PROT_WRITE | PROT_EXEC) < 0) { in alloc_chunk()
H A DsljitProtExecAllocator.c242 if (mprotect(retval->executable, size, PROT_READ | PROT_EXEC) == -1) { in alloc_chunk()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_win.h29 int mprotect(void *addr, size_t size, int protection);
H A Dphpdbg_win.c22 int mprotect(void *addr, size_t size, int protection) { in mprotect() function
H A Dphpdbg_watch.c268 mprotect(page_addr, size, access); in phpdbg_change_watchpoint_access()
301 mprotect(page, phpdbg_pagesize, PROT_READ | PROT_WRITE);
1152 mprotect((void *) page, phpdbg_pagesize, PROT_READ);
/PHP-8.3/ext/opcache/
H A Dconfig.m496 AC_CHECK_FUNCS([mprotect memfd_create])
H A Dzend_shared_alloc.c633 mprotect(ZSMMG(shared_segments)[i]->p, ZSMMG(shared_segments)[i]->end, mode); in zend_accel_shared_protect()
H A DZendAccelerator.c2982 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
2991 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
3004 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
/PHP-8.3/Zend/
H A Dzend_fibers.c253 if (mprotect(pointer, ZEND_FIBER_GUARD_PAGES * page_size, PROT_NONE) < 0) { in zend_fiber_stack_allocate()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit.c4668 if (mprotect(dasm_buf, dasm_size, opts) != 0) { in zend_jit_unprotect()
4699 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_EXEC) != 0) { in zend_jit_protect()
4974 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_WRITE | PROT_EXEC) != 0) { in zend_jit_startup()
4978 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_EXEC) != 0) { in zend_jit_startup()
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch653 - if (mprotect(map->p, CAST(size_t, st.st_size), PROT_READ) == -1) {
654 - file_error(ms, errno, "cannot mprotect `%s'", dbname);
/PHP-8.3/
H A DNEWS979 . Added workaround for SELinux mprotect execheap issue.

Completed in 72 milliseconds