* Fixed bug in Detoured_NtQueryDirectoryFile when folder had deleted files and you could end up in infinite loops
[CL 32459316 by henrik karlsson in ue5-main branch]
* Refactored out uba horde integration to its own module called UbaCoordinatorHorde. This required some changes like callback registration to register helpers to uba host
* Added UbaCoordinatorHorde target in uba to be able to compile a coordinator for horde that can be used in UbaCli or other custom written uba tools
#rb laura.hermanns
[CL 32347975 by henrik karlsson in ue5-main branch]
* Changed so only non-windows platforms need 128kb message buffer... right now only macos creates those super long command lines
[CL 32317060 by henrik karlsson in ue5-main branch]
* Fixed badly formatted printf
* Added so failing to write output files return fail
* Moved a couple of message handlers to separate functions to solve stack complains from submit tool
[CL 32316873 by henrik karlsson in ue5-main branch]
* Added retry code for opening file for write. Will retry 5 times with one second in between. We have seen fails to open files for write randomly over the last five months (only a few times).. have no idea what could cause this.. have never seen it locally myself
* Fixed non unity compile error
[CL 32281959 by henrik karlsson in ue5-main branch]
* Fixed exit race condition for posix processes... session can end up in a situation where it sees the process as exited without getting an exit message.. we have assumed this was a crash but it is actually just a matter of message wait event timing out just before the exit message is written, and then the detoured process manages to exit before the isProcessAlive-checking happens..
Solution is simply to do one more check for messages in the shared memory if an exit has happened without an exit message
[CL 32268295 by henrik karlsson in ue5-main branch]
* Fixed so NetworkMessage can be created without initialized
* Removed unused code
* Fixed StorageClient::SendBatchMessages so it deletes correct number of messages if it disconnects in the middle of transfer
[CL 32262740 by henrik karlsson in ue5-main branch]
* Enabled file writing using memory maps (we've tested on two machines that behaves very different with file writing and mmap is the only path that makes write fast on both machines)
* Changed from lock to bottleneck for creating file mappings and allow four at the time.
[CL 32262457 by henrik karlsson in ue5-main branch]
* Added _RDATA section to callback in detoured ImageGetDigestStream.. Needed to new dxil.dll to match hash on linux/wine
[CL 32262272 by henrik karlsson in ue5-main branch]
* Added lots of more logging around processes disappearing without exit message
* Added descriptions to lots of asserts since macos refuse to give us good line numbers
* Added more error handling
[CL 32255038 by henrik karlsson in ue5-main branch]
* Added description to error message when process exits before getting exit message
* Changed NtQueryDirectoryFile usage in UbaDirectoryIterator to use ReturnSingleEntry=false to reduce number of kernel calls. It now uses a 64k buffer to receive as many entries as possible at the time
* Fixed bug in detoured NtQueryDirectoryFile after learning how it works by implementing ReturnSingleEntry=false
[CL 32227289 by henrik karlsson in ue5-main branch]
* Proper fix for setting size of file mapping.. bug was that it tried to set file mapping size on files that were readonly and error was confusing
[CL 32198674 by henrik karlsson in ue5-main branch]
* Changed so macos is using ftruncate instead of lseek+write. This fixes failed unit test on some macs
* Removed locks in UbaNetworkBackendMemory to fix potential deadlock
* Added StringBuffer::GetFileName since it is a common usecase when doing debug printing
* Added missing close of file descriptor in error situation
[CL 32191183 by henrik karlsson in ue5-main branch]
* Fixed so ref count of remote process is kept up in order to prevent it from being deleted at wrong point in time
[CL 32158427 by henrik karlsson in ue5-main branch]