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