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=3529... ============================================================================== --- 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);