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

PATCH: Implement partial support for job objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: NTCore, Wine
    • Labels:

      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
          35 kB
        2. job.patch
          24 kB
        3. job.patch
          23 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: