/*++ Copyright (c) 1989 Microsoft Corporation Module Name: dbginit.c Abstract: Debug Subsystem Initialization Author: Mark Lucovsky (markl) 22-Jan-1990 Revision History: --*/ #include "smsrvp.h" static SID_IDENTIFIER_AUTHORITY WorldSidAuthority = SECURITY_WORLD_SID_AUTHORITY; NTSTATUS DbgpInit() { NTSTATUS st; ANSI_STRING Name; UNICODE_STRING UnicodeName; OBJECT_ATTRIBUTES ObjA; ULONG i; ULONG Length; PSID SeWorldSid; PSECURITY_DESCRIPTOR SecurityDescriptor; PACL Dacl; // // Initialize the application thread hash table // RtlInitializeCriticalSection(&DbgpHashTableLock); for( i=0;i