Home
last modified time | relevance | path

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

/PHP-8.0/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.c241mprotect(phpdbg_get_page_boundary(watch->addr.ptr), phpdbg_get_total_page_size(watch->addr.ptr, wa… in phpdbg_change_watchpoint_access()
273 mprotect(page, phpdbg_pagesize, PROT_READ | PROT_WRITE);
1080 mprotect((void *) page, phpdbg_pagesize, PROT_READ);
/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c238 if (mprotect(retval, size, PROT_READ | PROT_WRITE) == -1 || in alloc_chunk()
239 mprotect(maprx, size, PROT_READ | PROT_EXEC) == -1) { in alloc_chunk()
H A DsljitExecAllocator.c179 if (mprotect(retval, size, prot) < 0) { in alloc_chunk()
/PHP-8.0/ext/opcache/
H A Dconfig.m4101 AC_CHECK_FUNCS([mprotect])
H A Dzend_shared_alloc.c616 mprotect(ZSMMG(shared_segments)[i]->p, ZSMMG(shared_segments)[i]->end, mode); in zend_accel_shared_protect()
H A DZendAccelerator.c2774 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
2783 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
2794 mprotect(start, size, PROT_READ | PROT_EXEC); in accel_remap_huge_pages()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit.c4038 if (mprotect(dasm_buf, dasm_size, opts) != 0) { in zend_jit_unprotect()
4064 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_EXEC) != 0) { in zend_jit_protect()
4324 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_WRITE | PROT_EXEC) != 0) { in zend_jit_startup()
4328 if (mprotect(dasm_buf, dasm_size, PROT_READ | PROT_EXEC) != 0) { in zend_jit_startup()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch720 - if (mprotect(map->p, CAST(size_t, st.st_size), PROT_READ) == -1) {
721 - file_error(ms, errno, "cannot mprotect `%s'", dbname);

Completed in 77 milliseconds