Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9832

Missing PF_LOCAL symbol in Solaris 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.4.6, 2.5.1
    • Component/s: Internal Code
    • Labels:
      None
    • Environment:
      Solaris 10
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Solaris

      Description

      The header files for Solaris 10 do not declare the symbol PF_LOCAL, used to specify Unix domain sockets as the "protocol family" for socket calls.

      PF_LOCAL is the POSIX name for what BSD Unix called PF_UNIX. According to http://www.gnu.org/software/libc/manual/html_node/Address-Formats.html,

      Although AF_LOCAL is mandated by POSIX.1g, AF_UNIX is portable to more systems ... (The same is true for PF_UNIX vs. PF_LOCAL)."

      I verified that using PF_UNIX works around the problem on Solaris 10.

      Suggest backport to 2.4 branch (optionally 2.2 as well).

        Attachments

          Activity

            People

            • Assignee:
              tad Tad Marshall
              Reporter:
              tad Tad Marshall
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: