log errno when mlock() fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: 5.1 Desired
    • Component/s: Security
    • None
    • Fully Compatible
    • ALL
    • Security 2021-10-04
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In BF-22742, a crash happened due to failure to mlock(). It is unclear what an actual error was.

      mlock documentation indicates that errno could be invoked to get failure code. This ticket is to implement said diagnostics and add it to the log message

              Assignee:
              Sergey Galtsev (Inactive)
              Reporter:
              Sergey Galtsev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: