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

advapi32: services: source code reorganization of the Service Control Manager (SCM) and starting implementation of database locking.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • Services
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=7674)
      The patch

      This patch aims at reorganizing the handling functions of the Service Control Manager into different source files.

      Added (new) files:
      ==================
      lock.c – Procedures for (un)locking the SC database.
      service.c – Functions for handling specifically Win32 services.
      svcobject.c – Functions for handling "services", i.e. Win32 services or kernel drivers.
      utils.c – Helper functions.
      unimplemented.c – Contains most of the unimplemented RPC procedures.

      Original files:
      ===============
      config.c – The system configuration interface
      database.c – Functions managing the Service Controller database.
      driver.c – Functions for handling only kernel drivers.
      groupdb.c – Functions managing service groups.
      rpcserver.c – Contains the RPC management functions (TODO: move the RCloseServiceHandle function to another appropriate file).
      services.c – Main program file.

      This new architecture will allow better maintenance of the program. It will also be used latter by the author to implement new functions.

      Attachments

        1. patch_1__moving.diff
          358 kB
        2. patch_2_modified.diff
          550 kB
        3. patch_2.diff
          537 kB
        4. patch_2.diff
          537 kB

        Activity

          People

            ekohl ekohl
            hbelusca hbelusca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: