[0.4.13][NTOS:MM] Copy the WorkingSet page when initializing "hand-built" process CORE-16737

(and part of the duplicated ticket CORE-17642 which covers a bit more changes in master)

fix picked from 0.4.15-dev-3018-g 34662e2f6f
This commit is contained in:
Joachim Henze 2022-10-15 17:25:40 +02:00
parent 37bfb46a94
commit c1a59f6d2e

View file

@ -1046,6 +1046,7 @@ MmInitializeHandBuiltProcess(IN PEPROCESS Process,
/* Use idle process Working set */
Process->Vm.VmWorkingSetList = PsGetCurrentProcess()->Vm.VmWorkingSetList;
Process->WorkingSetPage = PsGetCurrentProcess()->WorkingSetPage;
/* Done */
Process->HasAddressSpace = TRUE;//??