https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34662e2f6fa556855759978df306718dfb9f0930

commit 34662e2f6fa556855759978df306718dfb9f0930
Author:     Jérôme Gardou <[email protected]>
AuthorDate: Wed Jul 28 16:25:29 2021 +0200
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Wed Aug 4 11:49:38 2021 +0200

    [NTOS:MM] Copy the WorkingSet page when initializing "hand-built" process
    
    CORE-17642
---
 ntoskrnl/mm/ARM3/procsup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ntoskrnl/mm/ARM3/procsup.c b/ntoskrnl/mm/ARM3/procsup.c
index 5924aa067f8..dd04b68fb83 100644
--- a/ntoskrnl/mm/ARM3/procsup.c
+++ b/ntoskrnl/mm/ARM3/procsup.c
@@ -1108,6 +1108,7 @@ MmInitializeHandBuiltProcess(IN PEPROCESS Process,
 
     /* Use idle process Working set */
     Process->Vm.VmWorkingSetList = PsGetCurrentProcess()->Vm.VmWorkingSetList;
+    Process->WorkingSetPage = PsGetCurrentProcess()->WorkingSetPage;
 
     /* Done */
     Process->HasAddressSpace = TRUE;//??

Reply via email to