Home
last modified time | relevance | path

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

/openbmc/qemu/linux-user/
H A Dmmap.c346 int host_prot_old, host_prot_new; in mmap_frag() local
391 host_prot_old = target_to_host_prot(prot_old); in mmap_frag()
395 if (!(host_prot_old & PROT_WRITE)) { in mmap_frag()
396 host_prot_old |= PROT_WRITE; in mmap_frag()
397 mprotect(host_start, host_page_size, host_prot_old); in mmap_frag()
409 if (host_prot_new != host_prot_old) { in mmap_frag()