1. fixed NtCreateProcess to do some buffer checks and moved the implementation to...
authorThomas Bluemel <thomas@reactsoft.com>
Wed, 26 Jan 2005 00:03:05 +0000 (00:03 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Wed, 26 Jan 2005 00:03:05 +0000 (00:03 +0000)
commitb55653e57c4e4be71aacd54a551ff8b03b931f28
tree6c122bab30f9a1a75369bcb3eb28e5819bcbabee
parente91cfb506502e48844d17998a4734c5c60db98eb
1. fixed NtCreateProcess to do some buffer checks and moved the implementation to an internal function so it can be shared with PsCreateSystemProcess(). Also don't leak so many resources on failures
2. processes should acuire a cid handle for their unique process id
3. fixed several instances in structures where process ids were DWORD/ULONG instead of HANDLEs

svn path=/trunk/; revision=13301
27 files changed:
reactos/include/csrss/csrss.h
reactos/include/ddk/psfuncs.h
reactos/include/ntos/zwtypes.h
reactos/lib/kernel32/misc/console.c
reactos/lib/kernel32/process/create.c
reactos/lib/kernel32/process/proc.c
reactos/lib/psapi/psapi.c
reactos/lib/user32/misc/exit.c
reactos/ntoskrnl/ex/mutant.c
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/include/internal/mm.h
reactos/ntoskrnl/include/internal/ps.h
reactos/ntoskrnl/ke/profile.c
reactos/ntoskrnl/mm/anonmem.c
reactos/ntoskrnl/mm/pageop.c
reactos/ntoskrnl/mm/rmap.c
reactos/ntoskrnl/mm/section.c
reactos/ntoskrnl/ps/cid.c
reactos/ntoskrnl/ps/process.c
reactos/subsys/csrss/api/process.c
reactos/subsys/csrss/api/wapi.c
reactos/subsys/csrss/include/api.h
reactos/subsys/csrss/win32csr/conio.c
reactos/subsys/csrss/win32csr/exitros.c
reactos/subsys/win32k/ntuser/misc.c
reactos/w32api/include/ddk/ntapi.h
reactos/w32api/include/ddk/ntifs.h