Newer versions of lltng have templates, which don't properly work if extern C has been used around lttng headers. The fix to this is to not have a global extern C, but instead have it in individual headers
On some platforms, cgroups don't exist at all, which cause a debug assertion. Remove all debug asserts in the cgroup code, as theyre not actually helpful, and the code handles the asserts missing correctly
The include checks we were doing could be done a lot cleaner. Additionally, some older platforms don't have libatomic, but don't need it either, so make that check optional
TDI/TDX only examines the cmsghdr of TDI IRPs from the
Options/OptionsLength fields if UserBuffer==(PVOID)8937731. This was
never documented and will probably never change, which in turn means
that TDI drivers that filter and reinject packets will strip the cmsghdr
unknowingly. TDI is a dead technology anyway, and bypassing it shouldn't
interfere with reasonable systems.
This mirrors https://git.zx2c4.com/wireguard-nt/commit/?id=c331ee4f18e98b7063dc74e3d8b0ab556cff3a96
* Check that path for datagram or packet does not contain retired cid
* Fix check
* Another try
* Fix release build
* Pass crash info to quic_bugcheck
* Don't optimized
* Fix clang
* Don't optimize loss detection function
* Assert not retired
* Fix build
* Check path reassignment
* Don't use new
* Try some more things
* Another try
* Add spinquic logging
* Disable UDP port sharing in spin
* Disable local port sharing
* Revert udp sharing
* Add a few more asserts
* Fix build
* Try always silently aboring on cid allocation failure on retire
* Clear flings on silent close
* Cleanup
Co-authored-by: Nick Banks <nibanks@microsoft.com>
* Link gamecore binaries to correct runtime libs
* Fix linking
* Shim missing functions
* Get uwp working again
* Rename gamecore to gamecore-durango
* Only shim quicaddrtostring in gamecore.
* Fix all builds
* Properly lookup gxdk
* Fix public builds
* Fix define comment
* Fix uwp builds
* One more uwp
* 1 more uwp fix
* Add support for building a macOS or iOS framework bundle
* Rename script
* Package frameworks on azure
* Update framework version
* Fix upload path
* Add support for xcframework as well
* Another macos fix
* Fix weird mistakes
* Increase minimum target to 10.15
* Fix macos build
* Fix review comments
Co-authored-by: Thad House <thadhouse1@gmail.com>
* Don't allow stateless operations on a binding until fully initialized
* Use interlocked operation to commit initialized to memory
* Fix argument
* Use the ref count
* Use os certificate validation on macOS and iOS
* Revert sample changes
* Fix build
* Fix api test
* Fix revocation leak
* Fix null SNI case
* Fix clog
Co-authored-by: Thad House <thadhouse1@gmail.com>