remove explicit bugcheck in NtOpenProcess when the caller supplies a thread CID of -1, looks like this was added for debug purpose and accidently committed.
Modified: trunk/reactos/ntoskrnl/ps/process.c
--- trunk/reactos/ntoskrnl/ps/process.c 2005-05-11 19:15:36 UTC (rev 15229) +++ trunk/reactos/ntoskrnl/ps/process.c 2005-05-11 20:04:48 UTC (rev 15230) @@ -874,7 +874,6 @@
if (ClientId->UniqueThread) { /* Get the Process */
- if (ClientId->UniqueThread == (HANDLE)-1) KEBUGCHECK(0);
DPRINT("Opening by Thread ID: %x\n", ClientId->UniqueThread); Status = PsLookupProcessThreadByCid(ClientId, &Process,