Author: hbelusca
Date: Sat Sep 21 23:21:24 2013
New Revision: 60299
URL:
http://svn.reactos.org/svn/reactos?rev=60299&view=rev
Log:
[NTOS]
Set the session ID to the process' associated PEB (introduced in revision 43476, the
code erratically disappeared in revision 57011 when Alex fixed sessions).
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/procsup.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] Sat Sep 21 23:21:24 2013
@@ -699,7 +699,7 @@
//
// Session ID
//
- MmGetSessionId(Process);
+ if (Process->Session) Peb->SessionId = MmGetSessionId(Process);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{