]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_apple_protect.c
xnu-2050.7.9.tar.gz
[apple/xnu.git] / osfmk / vm / vm_apple_protect.c
index ef46cfeca1ae96ca97175555d756216f51bc555d..a98fdbb3af325444e14a9e28c0b7b81810f9d19d 100644 (file)
@@ -357,6 +357,7 @@ apple_protect_pager_data_request(
        fault_info.stealth = TRUE;
        fault_info.io_sync = FALSE;
        fault_info.mark_zf_absent = FALSE;
+       fault_info.batch_pmap_op = FALSE;
        interruptible = fault_info.interruptible;
 
        pager = apple_protect_pager_lookup(mem_obj);
@@ -512,6 +513,7 @@ apple_protect_pager_data_request(
                           kernel_mapping,
                           src_page->phys_page,
                           VM_PROT_READ,
+                          VM_PROT_NONE,
                           0,
                           TRUE);
                /*
@@ -527,6 +529,7 @@ apple_protect_pager_data_request(
                           kernel_mapping + PAGE_SIZE_64,
                           dst_pnum,
                           VM_PROT_READ | VM_PROT_WRITE,
+                          VM_PROT_NONE,
                           0,
                           TRUE);