[ros-diffs] [sginsberg] 35294: - Temporarily revert my last change. We don't set the SystemThread flag appropriately and it is always zero

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Wed Aug 13 00:22:52 CEST 2008


Author: sginsberg
Date: Tue Aug 12 17:22:51 2008
New Revision: 35294

URL: http://svn.reactos.org/svn/reactos?rev=35294&view=rev
Log:
- Temporarily revert my last change. We don't set the SystemThread flag appropriately and it is always zero

Modified:
    trunk/reactos/ntoskrnl/ps/kill.c

Modified: trunk/reactos/ntoskrnl/ps/kill.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/kill.c?rev=35294&r1=35293&r2=35294&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Tue Aug 12 17:22:51 2008
@@ -1086,7 +1086,7 @@
     PETHREAD Thread = PsGetCurrentThread();
 
     /* Make sure this is a system thread */
-    if (!Thread->SystemThread) return STATUS_INVALID_PARAMETER;
+    if (Thread->SystemThread) return STATUS_INVALID_PARAMETER;
 
     /* Terminate it for real */
     return PspTerminateThreadByPointer(Thread, ExitStatus, TRUE);



More information about the Ros-diffs mailing list