- Cleanup AccessCheck, and set the correct last error in the case where the check...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 2 Jan 2009 17:39:45 +0000 (17:39 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 2 Jan 2009 17:39:45 +0000 (17:39 +0000)
commitfbd7681b844c91c7c48e503fce6b076cc8243d34
treeabcb76b60b7c8e132a6da301fd30359a8b4692dc
parent226c5fb55869a5c0353a46da67999ee619add8c8
- Cleanup AccessCheck, and set the correct last error in the case where the check succeeds but access is denied
- Cleanup NtAccessCheck, properly set desired access when previous mode is kernel, remove a duplicate check that is performed in SeAccessCheck, and don't fail with STATUS_ACCESS_DENIED when the check succeeds but denies access -- the result of the access check is returned in the 'AccessStatus' parameter

svn path=/trunk/; revision=38510
reactos/dll/win32/advapi32/token/token.c
reactos/ntoskrnl/se/semgr.c