[CSRSS]: Split off CSRSS into a more Windows-friendly model. CSRSS.EXE is simply...
authorSir Richard <sir_richard@svn.reactos.org>
Wed, 10 Mar 2010 04:59:39 +0000 (04:59 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Wed, 10 Mar 2010 04:59:39 +0000 (04:59 +0000)
commit1cd9cb22ef37cc00493017c1fc00af6fd7cb946d
treeb8b519b1de36a50bf53e8c06f8f1645c55e66759
parentfc4574d166d36d43d7b8b1587bce8f58e86aa48e
[CSRSS]: Split off CSRSS into a more Windows-friendly model. CSRSS.EXE is simply a stub which loads CSRSRV.DLL, where all the actual code is present.
[CSRSRV]: Mostly moved all the current CSRSS code into CSRSRV, with some very minor changes to get it workking.
[CSRSRV]: Add some more code from Alex's CSRSRV, such as thread dereferencing/deallocation, hacked to work.
[CSRSRV]: Make CsrTerminateProcess destroy each CSR thread in that process, otherwise we were always leaking a handle, so processes never died. Because of this, primary tokens would remain "in use", and when umpnpmgr attempted to do a "Create Process as User" for the second+ time, the call would fail since the token from the first process was still around. This fixed that regression from the mailing list.

svn path=/trunk/; revision=46051
15 files changed:
reactos/boot/bootdata/packages/reactos.dff
reactos/subsystems/win32/csrss/csrsrv/api/handle.c [moved from reactos/subsystems/win32/csrss/api/handle.c with 99% similarity]
reactos/subsystems/win32/csrss/csrsrv/api/process.c [moved from reactos/subsystems/win32/csrss/api/process.c with 94% similarity]
reactos/subsystems/win32/csrss/csrsrv/api/user.c [moved from reactos/subsystems/win32/csrss/api/user.c with 98% similarity]
reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [moved from reactos/subsystems/win32/csrss/api/wapi.c with 99% similarity]
reactos/subsystems/win32/csrss/csrsrv/csrsrv.rbuild [new file with mode: 0644]
reactos/subsystems/win32/csrss/csrsrv/csrsrv.rc [new file with mode: 0644]
reactos/subsystems/win32/csrss/csrsrv/csrsrv.spec [new file with mode: 0644]
reactos/subsystems/win32/csrss/csrsrv/init.c [moved from reactos/subsystems/win32/csrss/init.c with 82% similarity]
reactos/subsystems/win32/csrss/csrsrv/srv.h [moved from reactos/subsystems/win32/csrss/csrss.h with 71% similarity]
reactos/subsystems/win32/csrss/csrss.c
reactos/subsystems/win32/csrss/csrss.rbuild
reactos/subsystems/win32/csrss/include/api.h
reactos/subsystems/win32/csrss/print.c [deleted file]
reactos/subsystems/win32/csrss/video.c [deleted file]