[NTOSKRNL]: Fix the zombie fix. Should fix toolhelp tests.
[reactos.git] / reactos / ntoskrnl / se / semgr.c
index 2795f01..e70c3fd 100644 (file)
@@ -705,6 +705,7 @@ SepAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
                 *GrantedAccess, DesiredAccess, GenericMapping);
         //*AccessStatus = STATUS_ACCESS_DENIED;
         //return FALSE;
+        *GrantedAccess = DesiredAccess;
         *AccessStatus = STATUS_SUCCESS;
         return TRUE;
     }