Commit in reactos/ntoskrnl/se on MAIN
semgr.c+11-111.45 -> 1.46
SeAccessCheck() returns TRUE on success

reactos/ntoskrnl/se
semgr.c 1.45 -> 1.46
diff -u -r1.45 -r1.46
--- semgr.c	25 Sep 2004 06:41:16 -0000	1.45
+++ semgr.c	25 Sep 2004 08:49:06 -0000	1.46
@@ -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
  * PROJECT:           ReactOS kernel
@@ -852,16 +852,16 @@
   /* Lock subject context */
   SeLockSubjectContext(&SubjectSecurityContext);
 
-  if (!SeAccessCheck(SecurityDescriptor,
-		     &SubjectSecurityContext,
-		     TRUE,
-		     DesiredAccess,
-		     0,
-		     &PrivilegeSet,
-		     GenericMapping,
-		     PreviousMode,
-		     GrantedAccess,
-		     AccessStatus))
+  if (SeAccessCheck(SecurityDescriptor,
+		    &SubjectSecurityContext,
+		    TRUE,
+		    DesiredAccess,
+		    0,
+		    &PrivilegeSet,
+		    GenericMapping,
+		    PreviousMode,
+		    GrantedAccess,
+		    AccessStatus))
     {
       Status = *AccessStatus;
     }
CVSspam 0.2.8