Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-10609

PATCH: Implement partial support for job objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • NTCore, Wine

    Description

      This patch requires review from an ntoskrnl guru to ensure correctness..
      In an attempt to resolve several failed tests (approximately 40 kernel32:process winetests) I dabbled in ntoskrnl to implement:

      PspAssignProcessToJob (NtAssignProcessToJobObject)
      JOB_OBJECT_MSG_NEW_PROCESS
      PspTerminateJobObject (NtTerminateJobObject)
      PspExitProcessFromJob
      JOB_OBJECT_MSG_EXIT_PROCESS
      JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO
      NtQueryInformationJobObject
      JobObjectBasicLimitInformation
      JobObjectExtendedLimitInformation
      JobObjectBasicProcessIdList
      NtSetInformationJobObject
      JobObjectAssociateCompletionPortInformation

      Also implemented job inheritance for child processes(ps/process.c) and added several required structures to NDK

      Attachments

        1. job.patch
          23 kB
        2. job.patch
          24 kB
        3. job.patch
          35 kB

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              encoded encoded
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: