https://git.reactos.org/?p=reactos.git;a=commitdiff;h=896d090ee6537872faa0e173a4d9436773f84f0c

commit 896d090ee6537872faa0e173a4d9436773f84f0c
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Mon Feb 12 19:25:08 2018 +0100
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Sun Sep 20 23:08:17 2020 +0200

    [NTOS:MM] Call MiSessionAddProcess() from MmCreateProcess() like on x86
---
 ntoskrnl/mm/amd64/page.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ntoskrnl/mm/amd64/page.c b/ntoskrnl/mm/amd64/page.c
index fb00e41bb96..afae9827191 100644
--- a/ntoskrnl/mm/amd64/page.c
+++ b/ntoskrnl/mm/amd64/page.c
@@ -713,6 +713,8 @@ MmCreateProcessAddressSpace(IN ULONG MinWs,
     ASSERT(Process->AddressSpaceInitialized == 0);
     Process->AddressSpaceInitialized = 1;
 
+    /* Add the process to the session */
+    MiSessionAddProcess(Process);
     return TRUE;
 }
 

Reply via email to