[ros-bugs] [Bug 2310] New: DebugObject not granted needed rights

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sun Jun 17 15:50:26 CEST 2007


http://www.reactos.org/bugzilla/show_bug.cgi?id=2310

           Summary: DebugObject not granted needed rights
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Kernel
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: timo.kreuzer at web.de
         QAContact: ros-bugs at reactos.org


The debug object created by NtCreateDebugObject() is restricted to
DEBUG_OBJECT_WAIT_STATE_CHANGE (DbgkInitialize @ ntoskrnl/dbgk/dbgkobj.c:1403)

DbgkInitialize()
 -> ObjectTypeInitializer.ValidAccessMask = DEBUG_OBJECT_WAIT_STATE_CHANGE;
 -> ObCreateObjectType(&Name,&ObjectTypeInitializer,NULL,&DbgkDebugObjectType);

DbgUiConnectToDbg()
 -> NtCreateDebugObject()
  -> ObCreateObject(...,DbgkDebugObjectType,...)

CreateProcessInternalW()
 -> hDebug = DbgUiGetThreadDebugObject();
 -> NtCreateProcess(..., hDebug,...)
  -> PspCreateProcess(..., hDebug, ...)
   -> ObReferenceObjectByHandle(DebugPort, DEBUG_OBJECT_ADD_REMOVE_PROCESS,..)
    -> fails!


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Ros-bugs mailing list