- Remove unimplemented macro in SeOpenObjectAuditAlarm and replace it with a DPRINT1; that way callers won't freeze while calling it.
Modified: trunk/reactos/ntoskrnl/ob/security.c
Modified: trunk/reactos/ntoskrnl/se/audit.c

Modified: trunk/reactos/ntoskrnl/ob/security.c
--- trunk/reactos/ntoskrnl/ob/security.c	2005-11-08 17:20:58 UTC (rev 19059)
+++ trunk/reactos/ntoskrnl/ob/security.c	2005-11-08 17:22:26 UTC (rev 19060)
@@ -262,9 +262,8 @@
                         OUT PSECURITY_DESCRIPTOR *OutputSecurityDescriptor,
                         IN ULONG RefBias)
 {
-    DPRINT1("ObLogSecurityDescriptor is not implemented!\n");
-
     /* HACK: Return the same descriptor back */
+    DPRINT1("ObLogSecurityDescriptor is not implemented!\n");
     *OutputSecurityDescriptor = InputSecurityDescriptor;
     return STATUS_SUCCESS;
 }

Modified: trunk/reactos/ntoskrnl/se/audit.c
--- trunk/reactos/ntoskrnl/se/audit.c	2005-11-08 17:20:58 UTC (rev 19059)
+++ trunk/reactos/ntoskrnl/se/audit.c	2005-11-08 17:22:26 UTC (rev 19060)
@@ -225,7 +225,7 @@
 		       IN KPROCESSOR_MODE AccessMode,
 		       OUT PBOOLEAN GenerateOnClose)
 {
-  UNIMPLEMENTED;
+    DPRINT1("SeOpenObjectAuditAlarm is UNIMPLEMENTED!\n");
 }