Author: hbelusca
Date: Mon Oct 13 18:51:40 2014
New Revision: 64737
URL: http://svn.reactos.org/svn/reactos?rev=64737&view=rev
Log:
[NTVDM]: it is always interesting to dump the full CPU state when an exception occurs.
Modified:
trunk/reactos/subsystems/ntvdm/emulator.c
Modified: trunk/reactos/subsystems/ntvdm/emulator.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/emulator.…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/emulator.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/emulator.c [iso-8859-1] Mon Oct 13 18:51:40 2014
@@ -166,6 +166,8 @@
Opcode[7],
Opcode[8],
Opcode[9]);
+
+ Fast486DumpState(&EmulatorContext);
/* Stop the VDM */
EmulatorTerminate();
Author: jgardou
Date: Mon Oct 13 18:47:44 2014
New Revision: 64735
URL: http://svn.reactos.org/svn/reactos?rev=64735&view=rev
Log:
[NTOS/SE]
- Use the authentication ID to determine if a token represents a child of the current process.
CORE-8631 #resolve #comment the installer now works fine, but chrome fails to start
Modified:
trunk/reactos/ntoskrnl/se/token.c
Modified: trunk/reactos/ntoskrnl/se/token.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/token.c?rev=64…
==============================================================================
--- trunk/reactos/ntoskrnl/se/token.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/se/token.c [iso-8859-1] Mon Oct 13 18:47:44 2014
@@ -571,13 +571,13 @@
ProcessToken = PsReferencePrimaryToken(PsGetCurrentProcess());
/* Get the ID */
- ProcessLuid = ProcessToken->TokenId;
+ ProcessLuid = ProcessToken->AuthenticationId;
/* Dereference the token */
ObFastDereferenceObject(&PsGetCurrentProcess()->Token, ProcessToken);
/* Get our LUID */
- CallerLuid = Token->TokenId;
+ CallerLuid = Token->AuthenticationId;
/* Compare the LUIDs */
if (RtlEqualLuid(&CallerLuid, &ProcessLuid)) *IsChild = TRUE;