Revision 91dbed4b

b/exec.c
1179 1179
                continue;
1180 1180
            prot |= p2->flags;
1181 1181
            p2->flags &= ~PAGE_WRITE;
1182
            page_get_flags(addr);
1183 1182
          }
1184 1183
        mprotect(g2h(page_addr), qemu_host_page_size,
1185 1184
                 (prot & PAGE_BITS) & ~PAGE_WRITE);

Also available in: Unified diff