github microsoft/go-winio v0.4.13
v0.4.13 go-winio

latest releases: v0.6.0, v0.5.2, v0.4.20...
5 years ago

This release contains various fixes and additions to the go-winio package.

It adds:

  • go module support.
  • ListenHvsock support for opening and managing Hyper-V Sockets from a Windows host.
  • DialPipeContext that allows the caller to pass in the appropriate cancellation logic via the ctx parameter.
  • The pkg/etw package that enables the use of go binaries write to Windows etw logging. For a sample see the pkg/etw/sample package.
  • The pkg/etwlogrus package which defines a logrus hook that can be used to export logrus messages to etw.
  • The pkg/fs package which unifies the GetFileSystemType function across Docker and containerd to avoid duplication.
  • The pkg/guid package which add easy support for the golang.org/x/sys/windows.GUID to make NewV4 and NewV5 variant GUID structures that support TextMarshaler for easy encoding and decoding from JSON .
  • The pkg/security package that enables support for GrantVmGroupAccess on a file or directory path. This grants the appropriate VM Group SID for the path or all files in the directory path so that these files may be used at container activation or modification.
  • The OpenVirtualDisk function which enables go binaries to get a syscall.Handle to a vhd that can be used for other various vhd operations.
  • The Fd() function on the named pipe that returns the raw handle to be used with other Windows syscalls.

It fixes:

  • An a race condition where ListenPipe can fail due to concurrent DialPipe calls.

A big Thanks!
(alphabetical)

@azdagron
@CodeLingoBot
@kevpar
@jhowardmsft
@jstarks
@jterry75
@sime1
@ehotinger

Don't miss a new go-winio release

NewReleases is sending notifications on new releases.