mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
SeAccessCheck() returns TRUE on success
svn path=/trunk/; revision=11044
This commit is contained in:
parent
ee3726520d
commit
79c3ba475a
1 changed files with 11 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: semgr.c,v 1.45 2004/09/25 06:41:16 arty Exp $
|
/* $Id: semgr.c,v 1.46 2004/09/25 08:49:06 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -852,16 +852,16 @@ NtAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/* Lock subject context */
|
/* Lock subject context */
|
||||||
SeLockSubjectContext(&SubjectSecurityContext);
|
SeLockSubjectContext(&SubjectSecurityContext);
|
||||||
|
|
||||||
if (!SeAccessCheck(SecurityDescriptor,
|
if (SeAccessCheck(SecurityDescriptor,
|
||||||
&SubjectSecurityContext,
|
&SubjectSecurityContext,
|
||||||
TRUE,
|
TRUE,
|
||||||
DesiredAccess,
|
DesiredAccess,
|
||||||
0,
|
0,
|
||||||
&PrivilegeSet,
|
&PrivilegeSet,
|
||||||
GenericMapping,
|
GenericMapping,
|
||||||
PreviousMode,
|
PreviousMode,
|
||||||
GrantedAccess,
|
GrantedAccess,
|
||||||
AccessStatus))
|
AccessStatus))
|
||||||
{
|
{
|
||||||
Status = *AccessStatus;
|
Status = *AccessStatus;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue